Revision 1809
Added by Luisehahne about 13 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 13 | 13 |
|
| 14 | 14 |
|
| 15 | 15 |
|
| 16 |
07 Nov-2012 Build 1809 Dietmar Woellbrink (Luisehahne) |
|
| 17 |
! remove login_ip after 60days set in /admin/start/index.php |
|
| 18 |
! add confirm_code and confirm_timeout fields in users table in /install/save.php |
|
| 16 | 19 |
07 Nov-2012 Build 1808 Dietmar Woellbrink (Luisehahne) |
| 17 | 20 |
! add ErrorMsgException in /framework/globalExceptionHandler.php |
| 18 | 21 |
! ErrorMessage "ADMIN_INSUFFICIENT_PRIVELLIGES" now can be styled |
| branches/2.8.x/wb/admin/start/index.php | ||
|---|---|---|
| 131 | 131 |
$sql = 'DELETE FROM `'.TABLE_PREFIX.'users` WHERE `confirm_timeout` BETWEEN 1 AND '.time(); |
| 132 | 132 |
WbDatabase::getInstance()->query($sql); |
| 133 | 133 |
|
| 134 |
/** |
|
| 135 |
* delete Outdated Confirmations |
|
| 136 |
*/ |
|
| 137 |
$sql = 'UPDATE `'.TABLE_PREFIX.'users` SET `login_ip` = \'\' WHERE `login_when` < '.(time()-(60*84600)); |
|
| 138 |
WbDatabase::getInstance()->query($sql); |
|
| 139 |
|
|
| 134 | 140 |
// --------------------------------------- |
| 135 | 141 |
// Setup template object, parse vars to it, then parse it |
| 136 | 142 |
// Create new template object |
| branches/2.8.x/wb/admin/interface/version.php | ||
|---|---|---|
| 51 | 51 |
|
| 52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.3');
|
| 54 |
if(!defined('REVISION')) define('REVISION', '1808');
|
|
| 54 |
if(!defined('REVISION')) define('REVISION', '1809');
|
|
| 55 | 55 |
if(!defined('SP')) define('SP', '');
|
| branches/2.8.x/wb/install/save.php | ||
|---|---|---|
| 494 | 494 |
. ' `active` INT NOT NULL DEFAULT \'0\',' |
| 495 | 495 |
. ' `username` VARCHAR( 255 ) NOT NULL DEFAULT \'\' ,' |
| 496 | 496 |
. ' `password` VARCHAR( 255 ) NOT NULL DEFAULT \'\' ,' |
| 497 |
. ' `confirm_code` VARCHAR( 32 ) NOT NULL DEFAULT \'\',' |
|
| 498 |
. ' `confirm_timeout` INT NOT NULL DEFAULT \'0\',' |
|
| 497 | 499 |
. ' `remember_key` VARCHAR( 255 ) NOT NULL DEFAULT \'\',' |
| 498 | 500 |
. ' `last_reset` INT NOT NULL DEFAULT \'0\',' |
| 499 | 501 |
. ' `display_name` VARCHAR( 255 ) NOT NULL DEFAULT \'\' ,' |
Also available in: Unified diff
! remove login_ip after 60days set in /admin/start/index.php
! add confirm_code and confirm_timeout fields in users table in /install/save.php