Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42fe364
)
MDL-56818 messages: remove duplicated messaging enabled check
author
Simey Lameze
<simey@moodle.com>
Wed, 2 Nov 2016 02:18:53 +0000
(10:18 +0800)
committer
Simey Lameze
<simey@moodle.com>
Tue, 8 Nov 2016 02:26:39 +0000
(10:26 +0800)
message/externallib.php
patch
|
blob
|
blame
|
history
diff --git
a/message/externallib.php
b/message/externallib.php
index
ffdb18a
..
2ecaf66
100644
(file)
--- a/
message/externallib.php
+++ b/
message/externallib.php
@@
-1713,11
+1713,6
@@
class core_message_external extends external_api {
public static function get_blocked_users($userid) {
global $CFG, $USER, $PAGE;
- // Check if messaging is enabled.
- if (empty($CFG->messaging)) {
- throw new moodle_exception('disabled', 'message');
- }
-
// Warnings array, it can be empty at the end but is mandatory.
$warnings = array();