Merge branch 'MDL-41910_master' of git://github.com/dmonllao/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2013-09-25 03:09:51 +02:00
commit 1d453eff25

View File

@ -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