lib, auth, webservice: MDL-20876 fix deprecated split() calls.

This commit is contained in:
Jonathan Harker
2010-07-20 01:38:54 +00:00
parent bed733c237
commit 7785dc2e9f
12 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -486,7 +486,7 @@ class component_installer {
$lines=preg_split('/\r?\n/',$contents);
/// Each line will be one component
foreach($lines as $line) {
$availablecomponents[] = split(',', $line);
$availablecomponents[] = explode(',', $line);
}
/// If no components have been found, return error
if (empty($availablecomponents)) {