Merge branch 'MDL-48578-27' of git://github.com/jleyva/moodle into MOODLE_27_STABLE
This commit is contained in:
@@ -532,6 +532,7 @@ class core_message_external extends external_api {
|
||||
*/
|
||||
public static function search_contacts($searchtext, $onlymycourses = false) {
|
||||
global $CFG, $USER;
|
||||
require_once($CFG->dirroot . '/user/lib.php');
|
||||
|
||||
// Check if messaging is enabled.
|
||||
if (!$CFG->messaging) {
|
||||
|
||||
Reference in New Issue
Block a user