Skip to content

Commit 48f870c

Browse files
author
Till Brehm
committed
Merge branch 'stable-3.1' into 'stable-3.1'
truncate sys_session during update See merge request !455
2 parents aeaa201 + dd34962 commit 48f870c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/lib/update.lib.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,9 @@ function updateDbAndIni() {
394394
unset($old_ini_array);
395395
unset($tpl_ini_array);
396396
unset($new_ini);
397+
398+
// Truncate sys_session
399+
$inst->db->query('TRUNCATE ??', $conf['mysql']['database'].'sys_session');
397400
}
398401

399402

0 commit comments

Comments
 (0)