Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-28121, fixed deprecated split() function

  • Loading branch information...
commit 8819c47b64b2007b4edb18aba2ed888f169bdf0d 1 parent 7fde489
Dongsheng Cai dongsheng authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  webservice/lib.php
2  webservice/lib.php
@@ -340,7 +340,7 @@ public function get_service_required_capabilities($serviceid) {
340 340 $functions = $this->get_external_functions(array($serviceid));
341 341 $requiredusercaps = array();
342 342 foreach ($functions as $function) {
343   - $functioncaps = split(',', $function->capabilities);
  343 + $functioncaps = explode(',', $function->capabilities);
344 344 if (!empty($functioncaps) and !empty($functioncaps[0])) {
345 345 foreach ($functioncaps as $functioncap) {
346 346 $requiredusercaps[$function->name][] = trim($functioncap);

0 comments on commit 8819c47

Please sign in to comment.
Something went wrong with that request. Please try again.