MDL-41754 (3) quiz statistics : need to escape core_php_time_limit
authorJames Pratt <me@jamiep.org>
Wed, 11 Dec 2013 10:58:33 +0000 (17:58 +0700)
committerJames Pratt <me@jamiep.org>
Mon, 27 Jan 2014 10:45:50 +0000 (17:45 +0700)
after MDL-42084 was merged into upstream, introducing
core_php_time_limit, this branch that moved a reference to
core_php_time_limit to a new namespace was broken.

lib/classes/progress/base.php

index d1eaf91..3412362 100644 (file)
@@ -212,7 +212,7 @@ abstract class base {
         $this->lastprogresstime = $now;
 
         // Update time limit before next progress display.
-        core_php_time_limit::raise(self::TIME_LIMIT_WITHOUT_PROGRESS);
+        \core_php_time_limit::raise(self::TIME_LIMIT_WITHOUT_PROGRESS);
         $this->update_progress();
     }