mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-68438_master' of https://github.com/t-schroeder/moodle
This commit is contained in:
commit
8006aac75c
1 changed files with 0 additions and 5 deletions
|
@ -2844,11 +2844,6 @@ class core_message_external extends external_api {
|
|||
public static function message_processor_config_form($userid, $name, $formvalues) {
|
||||
global $USER, $CFG;
|
||||
|
||||
// Check if messaging is enabled.
|
||||
if (empty($CFG->messaging)) {
|
||||
throw new moodle_exception('disabled', 'message');
|
||||
}
|
||||
|
||||
$params = self::validate_parameters(
|
||||
self::message_processor_config_form_parameters(),
|
||||
array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue