Permalink
Browse files

MDL-28121, fixed deprecated split() function

  • Loading branch information...
dcai committed Jun 30, 2011
1 parent 7fde489 commit 8819c47b64b2007b4edb18aba2ed888f169bdf0d
Showing with 1 addition and 1 deletion.
  1. +1 −1 webservice/lib.php
View
@@ -340,7 +340,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);

0 comments on commit 8819c47

Please sign in to comment.