MDL-20462 reminder to minimise timemodified indexed column changes
This commit is contained in:
+2
-1
@@ -505,7 +505,8 @@ class database_session extends session_stub {
|
||||
$this->record->timemodified = time();
|
||||
$this->record->lastip = getremoteaddr();
|
||||
|
||||
// TODO: verify session changed before doing update
|
||||
// TODO: verify session changed before doing update,
|
||||
// also make sure the timemodified field is changed only overy 10s if nothing else changes MDL-20462
|
||||
|
||||
try {
|
||||
$this->database->update_record_raw('sessions', $this->record);
|
||||
|
||||
Reference in New Issue
Block a user