Skip to content

Commit

Permalink
MDL-64866 message: Remove message/defaultoutputs.php
Browse files Browse the repository at this point in the history
                   and final deprecation of admin_page_defaultmessageoutputs class.
  • Loading branch information
ilyatregubov committed Jan 22, 2021
1 parent fd840ab commit bf5dd33
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 150 deletions.
26 changes: 0 additions & 26 deletions lib/adminlib.php
Expand Up @@ -6732,32 +6732,6 @@ public function search($query) {
}
}

/**
* Default message outputs configuration
*
* @deprecated since Moodle 3.7 MDL-64495. Please use admin_page_managemessageoutputs instead.
* @todo MDL-64866 This will be deleted in Moodle 3.11.
*
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class admin_page_defaultmessageoutputs extends admin_page_managemessageoutputs {
/**
* Calls parent::__construct with specific arguments
*
* @deprecated since Moodle 3.7 MDL-64495. Please use admin_page_managemessageoutputs instead.
* @todo MDL-64866 This will be deleted in Moodle 3.11.
*/
public function __construct() {
global $CFG;

debugging('admin_page_defaultmessageoutputs class is deprecated. Please use admin_page_managemessageoutputs instead.',
DEBUG_DEVELOPER);

admin_externalpage::__construct('defaultmessageoutputs', get_string('defaultmessageoutputs', 'message'), new moodle_url('/message/defaultoutputs.php'));
}
}


/**
* Manage question behaviours page
*
Expand Down
2 changes: 2 additions & 0 deletions lib/upgrade.txt
Expand Up @@ -21,6 +21,8 @@ information provided here is intended especially for developers.
* A new optional parameter `$sort` has been added to all `$context->get_capabilities()` methods to be able to define order of
returned capability array.
* Spout has been upgraded to the latest version - 3.1.0
* The final deprecation of /message/defaultoutputs.php file and admin_page_defaultmessageoutputs.
All their settings moved to admin/message.php (see MDL-64495). Please use admin_page_managemessageoutputs class instead.

=== 3.10 ===
* PHPUnit has been upgraded to 8.5. That comes with a few changes:
Expand Down
124 changes: 0 additions & 124 deletions message/defaultoutputs.php

This file was deleted.

0 comments on commit bf5dd33

Please sign in to comment.