Validations added to upgrade-database action
This commit is contained in:
@@ -813,7 +813,7 @@ class workspaceTools
|
||||
$arrayData["MESS_FROM_NAME"] = (isset($emailConfiguration["MESS_FROM_NAME"]))? $emailConfiguration["MESS_FROM_NAME"] : "";
|
||||
$arrayData["SMTPSECURE"] = $emailConfiguration["SMTPSecure"];
|
||||
$arrayData["MESS_TRY_SEND_INMEDIATLY"] = (isset($emailConfiguration["MESS_TRY_SEND_INMEDIATLY"]) && ($emailConfiguration["MESS_TRY_SEND_INMEDIATLY"] . "" == "true" || $emailConfiguration["MESS_TRY_SEND_INMEDIATLY"] . "" == "1"))? 1 : 0;
|
||||
$arrayData["MAIL_TO"] = $emailConfiguration["MAIL_TO"];
|
||||
$arrayData["MAIL_TO"] = isset($emailConfiguration["MAIL_TO"]) ? $emailConfiguration["MAIL_TO"] : '';
|
||||
$arrayData["MESS_DEFAULT"] = (isset($emailConfiguration["MESS_ENABLED"]) && $emailConfiguration["MESS_ENABLED"] . "" == "1")? 1 : 0;
|
||||
break;
|
||||
case "MAIL":
|
||||
|
||||
@@ -4386,7 +4386,7 @@
|
||||
<column name="MESS_FROM_NAME" type="VARCHAR" size="256" default="" />
|
||||
<column name="SMTPSECURE" type="VARCHAR" size="3" required="true" default="No" />
|
||||
<column name="MESS_TRY_SEND_INMEDIATLY" type="INTEGER" required="true" default="0" />
|
||||
<column name="MAIL_TO" type="VARCHAR" size="256" required="true" default="" />
|
||||
<column name="MAIL_TO" type="VARCHAR" size="256" required="false" default="" />
|
||||
<column name="MESS_DEFAULT" type="INTEGER" required="true" default="0" />
|
||||
</table>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user