Skip to content
This repository
Browse code

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

instance method
  • Loading branch information...
commit a9f95051bc902a6722a84b7a5a10aa9ce11d23c2 1 parent 4c1aba8
Sean Harvey authored April 12, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  filesystem/File.php
2  filesystem/File.php
@@ -796,7 +796,7 @@ public static function format_size($size) {
796 796
 	 * @param string $phpIniValue
797 797
 	 * @return int
798 798
 	 */
799  
-	public function ini2bytes($PHPiniValue) {
  799
+	public static function ini2bytes($PHPiniValue) {
800 800
 		switch(strtolower(substr(trim($PHPiniValue), -1))) {
801 801
 			case 'g':
802 802
 				$PHPiniValue *= 1024;

0 notes on commit a9f9505

Please sign in to comment.
Something went wrong with that request. Please try again.