mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-29106 white space clean up
This commit is contained in:
parent
d040ea8893
commit
e6acc5518b
@ -102,8 +102,7 @@ class core_enrol_external extends external_api {
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Returns description of method parameters
|
||||
* @return external_function_parameters
|
||||
@ -217,7 +216,7 @@ class core_enrol_external extends external_api {
|
||||
|
||||
return $users;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns description of method result value
|
||||
* @return external_description
|
||||
|
@ -300,7 +300,7 @@ $functions = array(
|
||||
'capabilities'=> 'moodle/site:viewparticipants, moodle/course:viewparticipants,
|
||||
moodle/role:review, moodle/site:accessallgroups, moodle/course:enrolreview',
|
||||
),
|
||||
|
||||
|
||||
'core_enrol_get_enrolled_users' => array(
|
||||
'classname' => 'core_enrol_external',
|
||||
'methodname' => 'get_enrolled_users',
|
||||
|
@ -202,7 +202,7 @@ class core_user_external extends external_api {
|
||||
/**
|
||||
* Delete users
|
||||
* @param array $userids
|
||||
* @return null
|
||||
* @return null
|
||||
*/
|
||||
public static function delete_users($userids) {
|
||||
global $CFG, $DB, $USER;
|
||||
@ -293,7 +293,7 @@ class core_user_external extends external_api {
|
||||
/**
|
||||
* Update users
|
||||
* @param array $users
|
||||
* @return null
|
||||
* @return null
|
||||
*/
|
||||
public static function update_users($users) {
|
||||
global $CFG, $DB;
|
||||
@ -684,7 +684,7 @@ class moodle_user_external extends external_api {
|
||||
* Delete users
|
||||
* @deprecated since Moodle 2.2 please use core_user_external::delete_users instead
|
||||
* @param array $userids
|
||||
* @return null
|
||||
* @return null
|
||||
*/
|
||||
public static function delete_users($userids) {
|
||||
return core_user_external::delete_users($userids);
|
||||
@ -713,7 +713,7 @@ class moodle_user_external extends external_api {
|
||||
* Update users
|
||||
* @deprecated since Moodle 2.2 please use core_user_external::update_users instead
|
||||
* @param array $users
|
||||
* @return null
|
||||
* @return null
|
||||
*/
|
||||
public static function update_users($users) {
|
||||
return core_user_external::update_users($users);
|
||||
|
@ -30,7 +30,7 @@ class core_webservice_external extends external_api {
|
||||
|
||||
/**
|
||||
* Returns description of method parameters
|
||||
* @return type
|
||||
* @return external_function_parameters
|
||||
*/
|
||||
public static function get_site_info_parameters() {
|
||||
return new external_function_parameters(
|
||||
@ -121,7 +121,7 @@ class core_webservice_external extends external_api {
|
||||
|
||||
/**
|
||||
* Returns description of method result value
|
||||
* @return type
|
||||
* @return external_single_structure
|
||||
*/
|
||||
public static function get_site_info_returns() {
|
||||
return new external_single_structure(
|
||||
@ -155,7 +155,7 @@ class moodle_webservice_external extends external_api {
|
||||
/**
|
||||
* Returns description of method parameters
|
||||
* @deprecated since Moodle 2.2 please use core_webservice_external::get_site_info_parameters instead
|
||||
* @return type
|
||||
* @return external_function_parameters
|
||||
*/
|
||||
public static function get_siteinfo_parameters() {
|
||||
return core_webservice_external::get_site_info_parameters();
|
||||
@ -176,7 +176,7 @@ class moodle_webservice_external extends external_api {
|
||||
/**
|
||||
* Returns description of method result value
|
||||
* @deprecated since Moodle 2.2 please use core_webservice_external::get_site_info_returns instead
|
||||
* @return type
|
||||
* @return external_single_structure
|
||||
*/
|
||||
public static function get_siteinfo_returns() {
|
||||
return core_webservice_external::get_site_info_returns();
|
||||
|
Loading…
x
Reference in New Issue
Block a user