Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-28121, fixed deprecated split() function

  • Loading branch information...
commit f12c714e6fdfce14b9e60957004917b25d28a688 1 parent ff555b5
@dcai dcai authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  webservice/lib.php
View
2  webservice/lib.php
@@ -315,7 +315,7 @@ public function get_service_required_capabilities($serviceid) {
$functions = $this->get_external_functions(array($serviceid));
$requiredusercaps = array();
foreach ($functions as $function) {
- $functioncaps = split(',', $function->capabilities);
+ $functioncaps = explode(',', $function->capabilities);
if (!empty($functioncaps) and !empty($functioncaps[0])) {
foreach ($functioncaps as $functioncap) {
$requiredusercaps[$function->name][] = trim($functioncap);
Please sign in to comment.
Something went wrong with that request. Please try again.