Remove the PHP 5.3 deprecated split function.
This commit is contained in:
@@ -37,7 +37,7 @@ class IDF_Scm_Mercurial extends IDF_Scm
|
||||
{
|
||||
$cmd = Pluf::f('idf_exec_cmd_prefix', '').'du -skD '
|
||||
.escapeshellarg($this->repo);
|
||||
$out = split(' ', shell_exec($cmd), 2);
|
||||
$out = explode(' ', shell_exec($cmd), 2);
|
||||
return (int) $out[0]*1024;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user