Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…MOODLE_25_STABLE
  • Loading branch information...
commit d5971d75a1fa263f60e7d1f95d6da19304ec6b49 2 parents 7c97129 + 0129cc9
@stronk7 stronk7 authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/datalib.php
View
7 lib/datalib.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.