PM-3296 "ProcessMaker desabilita la opcion de new..." SOLVED

This commit is contained in:
Luis Fernando Saisa Lopez
2015-08-19 10:02:43 -04:00
parent 9f255d6be3
commit 7a5635b8be
3 changed files with 11 additions and 42 deletions

View File

@@ -234,16 +234,8 @@ class Installer
$this->setPartner();
$this->setAdmin();
/*----------------------------------********---------------------------------*/
if (true) {
//
} else {
/*----------------------------------********---------------------------------*/
$querySql = ("INSERT INTO EMAIL_SERVER(MESS_ENGINE) VALUES('MAIL')");
$this->run_query($querySql);
/*----------------------------------********---------------------------------*/
}
/*----------------------------------********---------------------------------*/
$querySql = ("INSERT INTO EMAIL_SERVER(MESS_ENGINE) VALUES('MAIL')");
$this->run_query($querySql);
}
return $test;
}

View File

@@ -796,20 +796,14 @@ class workspaceTools
$arrayData = $emailSever->create($arrayData);
} else {
/*----------------------------------********---------------------------------*/
if (!PMLicensedFeatures::getSingleton()->verifyfeature("zIKRGpDM3pjcHFsWGplNDN0dTl5bGN3UTNiOWdQU0E5Q05QTksrU1ladWQ0VT0=")) {
/*----------------------------------********---------------------------------*/
$arrayData["MESS_ENGINE"] = "MAIL";
$arrayData["MESS_SERVER"] = "";
$arrayData["MESS_ACCOUNT"] = "";
$arrayData["MESS_PASSWORD"] = "";
$arrayData["MAIL_TO"] = "";
$arrayData["MESS_DEFAULT"] = 1;
$arrayData["MESS_ENGINE"] = "MAIL";
$arrayData["MESS_SERVER"] = "";
$arrayData["MESS_ACCOUNT"] = "";
$arrayData["MESS_PASSWORD"] = "";
$arrayData["MAIL_TO"] = "";
$arrayData["MESS_DEFAULT"] = 1;
$arrayData = $emailSever->create2($arrayData);
/*----------------------------------********---------------------------------*/
}
/*----------------------------------********---------------------------------*/
$arrayData = $emailSever->create2($arrayData);
}
}
@@ -2283,4 +2277,3 @@ class workspaceTools
}
}
}

View File

@@ -836,15 +836,7 @@ class Installer extends Controller
) ) ) . "'
)" );
/*----------------------------------********---------------------------------*/
if (true) {
//
} else {
/*----------------------------------********---------------------------------*/
$this->mysqlQuery("INSERT INTO EMAIL_SERVER(MESS_ENGINE) VALUES('MAIL')");
/*----------------------------------********---------------------------------*/
}
/*----------------------------------********---------------------------------*/
$this->mysqlQuery("INSERT INTO EMAIL_SERVER(MESS_ENGINE) VALUES('MAIL')");
}
// Change admin user
@@ -1151,15 +1143,7 @@ class Installer extends Controller
) ) ) . "'
)" );
/*----------------------------------********---------------------------------*/
if (true) {
//
} else {
/*----------------------------------********---------------------------------*/
$this->mssqlQuery("INSERT INTO EMAIL_SERVER(MESS_ENGINE) VALUES('MAIL')");
/*----------------------------------********---------------------------------*/
}
/*----------------------------------********---------------------------------*/
$this->mssqlQuery("INSERT INTO EMAIL_SERVER(MESS_ENGINE) VALUES('MAIL')");
}
//change admin user