BUG 15394 "Cambiar el password despues de aplicar..." SOLVED
- Cambiar el password despues de aplicar el hotfix 2.5.2.3 - Problema resuelto, se agrega una validacion para esta version de processmaker "2.5.2.4" o "2.8", cuando sean estas versiones, se crea un flag que se registra en la tabla "configuration" y se hace una actualizacion de registros en la tabla "USERS_PROPERTIES", la actualizacion de los datos solo se realizar una vez.
This commit is contained in:
@@ -95,6 +95,7 @@ class p11835 extends patch
|
|||||||
|
|
||||||
//Fix BUG-15394
|
//Fix BUG-15394
|
||||||
G::LoadClass("configuration");
|
G::LoadClass("configuration");
|
||||||
|
|
||||||
$conf = new Configurations();
|
$conf = new Configurations();
|
||||||
|
|
||||||
if (!$conf->exists("HOTFIX")) {
|
if (!$conf->exists("HOTFIX")) {
|
||||||
@@ -108,7 +109,7 @@ class p11835 extends patch
|
|||||||
|
|
||||||
$pmVersion = self::pmVersion(System::getVersion()) . "";
|
$pmVersion = self::pmVersion(System::getVersion()) . "";
|
||||||
|
|
||||||
if (($pmVersion == "2.5.3" || $pmVersion == "2.8") && !in_array("15394", $arrayHotfix)) {
|
if (($pmVersion == "2.5.2.4" || $pmVersion == "2.8") && !in_array("15394", $arrayHotfix)) {
|
||||||
$cnn = Propel::getConnection("workflow");
|
$cnn = Propel::getConnection("workflow");
|
||||||
$stmt = $cnn->prepareStatement("UPDATE USERS_PROPERTIES SET USR_LOGGED_NEXT_TIME = 0");
|
$stmt = $cnn->prepareStatement("UPDATE USERS_PROPERTIES SET USR_LOGGED_NEXT_TIME = 0");
|
||||||
$rs = $stmt->executeQuery();
|
$rs = $stmt->executeQuery();
|
||||||
|
|||||||
Reference in New Issue
Block a user