Skip to content

Commit

Permalink
MDL-29106 white space clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Oct 25, 2011
1 parent d040ea8 commit e6acc55
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
5 changes: 2 additions & 3 deletions enrol/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ public static function get_users_courses_returns() {
)
);
}



/**
* Returns description of method parameters
* @return external_function_parameters
Expand Down Expand Up @@ -217,7 +216,7 @@ public static function get_enrolled_users($courseid, $options) {

return $users;
}

/**
* Returns description of method result value
* @return external_description
Expand Down
2 changes: 1 addition & 1 deletion lib/db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@
'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',
Expand Down
8 changes: 4 additions & 4 deletions user/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public static function delete_users_parameters() {
/**
* Delete users
* @param array $userids
* @return null
* @return null
*/
public static function delete_users($userids) {
global $CFG, $DB, $USER;
Expand Down Expand Up @@ -293,7 +293,7 @@ public static function update_users_parameters() {
/**
* Update users
* @param array $users
* @return null
* @return null
*/
public static function update_users($users) {
global $CFG, $DB;
Expand Down Expand Up @@ -684,7 +684,7 @@ public static function delete_users_parameters() {
* 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);
Expand Down Expand Up @@ -713,7 +713,7 @@ public static function update_users_parameters() {
* 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);
Expand Down
8 changes: 4 additions & 4 deletions webservice/externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -121,7 +121,7 @@ public function get_site_info($serviceshortnames = array()) {

/**
* Returns description of method result value
* @return type
* @return external_single_structure
*/
public static function get_site_info_returns() {
return new external_single_structure(
Expand Down Expand Up @@ -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();
Expand All @@ -176,7 +176,7 @@ public function get_siteinfo($serviceshortnames = array()) {
/**
* 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();
Expand Down

0 comments on commit e6acc55

Please sign in to comment.