Skip to content

Commit

Permalink
Merge branch 'MDL-68438_master' of https://github.com/t-schroeder/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed Oct 22, 2020
2 parents a9ab6a1 + 8e0423d commit 8006aac
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions message/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2844,11 +2844,6 @@ public static function message_processor_config_form_parameters() {
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(
Expand Down

0 comments on commit 8006aac

Please sign in to comment.