mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
Merge branch 'MDL-64495-master' of https://github.com/aanabit/moodle
This commit is contained in:
commit
a3d85254f1
13 changed files with 233 additions and 112 deletions
|
@ -6339,7 +6339,10 @@ class admin_page_managemessageoutputs extends admin_externalpage {
|
|||
*/
|
||||
public function __construct() {
|
||||
global $CFG;
|
||||
parent::__construct('managemessageoutputs', get_string('managemessageoutputs', 'message'), new moodle_url('/admin/message.php'));
|
||||
parent::__construct('managemessageoutputs',
|
||||
get_string('defaultmessageoutputs', 'message'),
|
||||
new moodle_url('/admin/message.php')
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -6385,14 +6388,24 @@ class admin_page_managemessageoutputs extends admin_externalpage {
|
|||
/**
|
||||
* 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 4.1.
|
||||
*
|
||||
* @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 4.1.
|
||||
*/
|
||||
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'));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,8 @@ attribute on forms to avoid collisions in forms loaded in AJAX requests.
|
|||
It is recommended that privacy providers using this function call rewrite any long query into a number of separate
|
||||
calls to add_from_sql for improved performance, and that the new argument is used.
|
||||
This will allow queries to remain backwards-compatible with older versions of Moodle but will have significantly better performance in version supporting the innerjoin parameter.
|
||||
* /message/defaultoutputs.php file and admin_page_defaultmessageoutputs class have been deprecated
|
||||
and all their settings moved to admin/message.php (see MDL-64495). Please use admin_page_managemessageoutputs class instead.
|
||||
|
||||
=== 3.6 ===
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue