BUGFIX File::ini2bytes() is now declared as static, as it was never an

instance method
This commit is contained in:
Sean Harvey 2012-04-12 12:03:33 +12:00
parent 4c1aba8542
commit a9f95051bc

View File

@ -796,7 +796,7 @@ class File extends DataObject {
* @param string $phpIniValue
* @return int
*/
public function ini2bytes($PHPiniValue) {
public static function ini2bytes($PHPiniValue) {
switch(strtolower(substr(trim($PHPiniValue), -1))) {
case 'g':
$PHPiniValue *= 1024;