MDL-41910 user: Allowing LASTACCESS_UPDATE_SECS overwrite
This commit is contained in:
+6
-1
@@ -42,8 +42,13 @@ define('MAX_COURSE_CATEGORIES', 10000);
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user