Moodle

Course restore is never completely silent

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.1
  • Fix Version/s: 1.9.5
  • Component/s: Backup
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

When restoring a course, the message "Creating the Restorelog.html in the course backup folder" is always displayed in the browser, regardless of the existence of the constant "RESTORE_SILENTLY".

Fix : there should be an if statement "if (!defined('RESTORE_SILENTLY'))" enclosing line 7483 (echo "<li>Creating the Restorelog.html in the course backup folder</li>") in backup/restorelib.php.

Issue Links

Activity

Hide
Dan Marsden added a comment -

fix now in HEAD and 1.9Stable - thanks for the report.

Show
Dan Marsden added a comment - fix now in HEAD and 1.9Stable - thanks for the report.
Hide
Tim Hunt added a comment -

Good fix. Thanks.

Show
Tim Hunt added a comment - Good fix. Thanks.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: