split() is deprecated in php 5.3
This commit is contained in:
parent
6f620e3f54
commit
ae11b1de4a
@ -87,7 +87,7 @@ class IDF_Scm_Git extends IDF_Scm
|
|||||||
$filename = trim(substr($line, 1));
|
$filename = trim(substr($line, 1));
|
||||||
$return->patches[] = $filename;
|
$return->patches[] = $filename;
|
||||||
} else if ($action == 'R') {
|
} else if ($action == 'R') {
|
||||||
$matches = split ("\t", $line);
|
$matches = preg_split("/\t/", $line);
|
||||||
$return->renames[$matches[1]] = $matches[2];
|
$return->renames[$matches[1]] = $matches[2];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user