Permalink
Browse files

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

instance method
  • Loading branch information...
1 parent 4c1aba8 commit a9f95051bc902a6722a84b7a5a10aa9ce11d23c2 @halkyon halkyon committed Apr 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 filesystem/File.php
View
2 filesystem/File.php
@@ -796,7 +796,7 @@ public static function format_size($size) {
* @param string $phpIniValue
* @return int
*/
- public function ini2bytes($PHPiniValue) {
+ public static function ini2bytes($PHPiniValue) {
switch(strtolower(substr(trim($PHPiniValue), -1))) {
case 'g':
$PHPiniValue *= 1024;

0 comments on commit a9f9505

Please sign in to comment.