]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9363 update memory limit checks and docs - grrr, removed debug code
authorskodak <skodak>
Sun, 15 Apr 2007 14:44:28 +0000 (14:44 +0000)
committerskodak <skodak>
Sun, 15 Apr 2007 14:44:28 +0000 (14:44 +0000)
install.php

index adeedec3d35a0cefeff8d27398426f3d9f0e1626..d46057706a0ba167185ab8c35068b006d19e300f 100644 (file)
@@ -1024,7 +1024,7 @@ function check_memory_limit() {
     if ((int)str_replace('M', '', get_memory_limit()) >= 40) {
         return true;
     }
-return false;
+
     /// Otherwise, see if we can change it ourselves
     @ini_set('memory_limit', '40M');
     return ((int)str_replace('M', '', get_memory_limit()) >= 40);