mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-43535 webservices: Adding missing deprecated WS
- enrol_manual needs a version bump to execute external_update_descriptions() - core_user_get_users_by_id() is now also marked as deprecated
This commit is contained in:
parent
c44da97711
commit
5bb0ee2a7a
@ -24,7 +24,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2014111000; // The current plugin version (Date: YYYYMMDDXX)
|
||||
$plugin->version = 2015021200; // The current plugin version (Date: YYYYMMDDXX)
|
||||
$plugin->requires = 2014110400; // Requires this Moodle version
|
||||
$plugin->component = 'enrol_manual'; // Full name of the plugin (used for diagnostics)
|
||||
$plugin->cron = 600;
|
||||
|
@ -807,6 +807,15 @@ class core_user_external extends external_api {
|
||||
return new external_multiple_structure(self::user_description($additionalfields));
|
||||
}
|
||||
|
||||
/**
|
||||
* Marking the method as deprecated.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function get_users_by_id_is_deprecated() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns description of method parameters
|
||||
*
|
||||
@ -1451,6 +1460,4 @@ class moodle_user_external extends external_api {
|
||||
public static function get_users_by_courseid_is_deprecated() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user