Skip to content

Commit

Permalink
Merge branch 'MDL-54601-master' of git://github.com/jleyva/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Jun 29, 2016
2 parents 3654734 + 89823b1 commit 628c52e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webservice/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,8 @@ public function get_external_functions($serviceids) {
FROM {external_functions} f
WHERE f.name IN (SELECT sf.functionname
FROM {external_services_functions} sf
WHERE sf.externalserviceid $serviceids)";
WHERE sf.externalserviceid $serviceids)
ORDER BY f.name ASC";
$functions = $DB->get_records_sql($sql, $params);
} else {
$functions = array();
Expand Down
4 changes: 4 additions & 0 deletions webservice/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ information provided here is intended especially for developers.

This information is intended for authors of webservices, not people writing webservice clients.

=== 3.2 ===

* webservice->get_external_functions now returns the external function list ordered by name ASC.

=== 3.1 ===

* The xmlrpc backend has changed, Zend_XmlRpc has been dropped and there might be slight differences in
Expand Down

0 comments on commit 628c52e

Please sign in to comment.