MDL-64495 admin: Removed setting page and deprecation
This commit is contained in:
@@ -142,4 +142,8 @@ userisblockingyounoncontact,core_message
|
||||
error:invalidbadgeurl,core_badges
|
||||
nomessages,core_message
|
||||
searchallavailablecourses_desc,core_admin
|
||||
search:mycourse,core_search
|
||||
search:mycourse,core_search
|
||||
outputdisabled,core_message
|
||||
outputdoesnotexist,core_message
|
||||
outputenabled,core_message
|
||||
outputnotconfigured,core_message
|
||||
|
||||
+4
-4
@@ -135,11 +135,7 @@ $string['offline'] = 'Offline';
|
||||
$string['on'] = 'On';
|
||||
$string['online'] = 'Online';
|
||||
$string['otherparticipants'] = 'Other participants';
|
||||
$string['outputdisabled'] = 'Output disabled';
|
||||
$string['outputdoesnotexist'] = 'Message output does not exist';
|
||||
$string['outputenabled'] = 'Output enabled';
|
||||
$string['outputnotavailable'] = 'Not available';
|
||||
$string['outputnotconfigured'] = 'Not configured';
|
||||
$string['participants'] = 'Participants';
|
||||
$string['permitted'] = 'Permitted';
|
||||
$string['privacy'] = 'Privacy';
|
||||
@@ -260,3 +256,7 @@ $string['userisblockingyounoncontact'] = '{$a} only accepts messages from their
|
||||
|
||||
// Deprecated since Moodle 3.7.
|
||||
$string['nomessages'] = 'No messages';
|
||||
$string['outputdisabled'] = 'Output disabled';
|
||||
$string['outputdoesnotexist'] = 'Message output does not exist';
|
||||
$string['outputenabled'] = 'Output enabled';
|
||||
$string['outputnotconfigured'] = 'Not configured';
|
||||
|
||||
@@ -6388,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 ===
|
||||
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
* @package core_message
|
||||
* @copyright 2011 Lancaster University Network Services Limited
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*
|
||||
* @deprecated since Moodle 3.7 MDL-64495. Please use /admin/message.php instead.
|
||||
* @todo MDL-64866 This will be deleted in Moodle 4.1.
|
||||
*/
|
||||
require_once(__DIR__ . '/../config.php');
|
||||
require_once($CFG->dirroot . '/message/lib.php');
|
||||
|
||||
Reference in New Issue
Block a user