Permalink
Browse files

Merge branch 'MDL-41910_25' of git://github.com/dmonllao/moodle into …

…MOODLE_25_STABLE
  • Loading branch information...
stronk7 committed Sep 25, 2013
2 parents 7c97129 + 0129cc9 commit d5971d75a1fa263f60e7d1f95d6da19304ec6b49
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/datalib.php
View
@@ -42,8 +42,13 @@
/**
* Number of seconds to wait before updating lastaccess information in DB.
+ *
+ * We allow overwrites from config.php, useful to ensure coherence in performance
+ * tests results.
*/
-define('LASTACCESS_UPDATE_SECS', 60);
+if (!defined('LASTACCESS_UPDATE_SECS')) {
+ define('LASTACCESS_UPDATE_SECS', 60);
+}
/**
* Returns $user object of the main admin user

0 comments on commit d5971d7

Please sign in to comment.