Skip to content

Commit

Permalink
Merge branch 'MDL-41910_25' of git://github.com/dmonllao/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_25_STABLE
  • Loading branch information
stronk7 committed Sep 25, 2013
2 parents 7c97129 + 0129cc9 commit d5971d7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/datalib.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -42,8 +42,13 @@


/** /**
* Number of seconds to wait before updating lastaccess information in DB. * 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 * Returns $user object of the main admin user
Expand Down

0 comments on commit d5971d7

Please sign in to comment.