Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/course/delete.php

    r136 r1331  
    6262    echo $OUTPUT->header();
    6363    echo $OUTPUT->heading($strdeletingcourse);
     64    // This might take a while. Raise the execution time limit.
     65    core_php_time_limit::raise();
    6466    // We do this here because it spits out feedback as it goes.
    6567    delete_course($course);
     
    7779
    7880$continueurl = new moodle_url('/course/delete.php', array('id' => $course->id, 'delete' => md5($course->timemodified)));
     81$continuebutton = new single_button($continueurl, get_string('delete'), 'post');
    7982
    8083$PAGE->navbar->add($strdeletecheck);
     
    8285$PAGE->set_heading($SITE->fullname);
    8386echo $OUTPUT->header();
    84 echo $OUTPUT->confirm($message, $continueurl, $categoryurl);
     87echo $OUTPUT->confirm($message, $continuebutton, $categoryurl);
    8588echo $OUTPUT->footer();
    8689exit;
Note: See TracChangeset for help on using the changeset viewer.