mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 01:17:04 +03:00
Fix uncaught exception
This commit is contained in:
parent
5d84af4458
commit
7165503f1d
1 changed files with 12 additions and 4 deletions
|
|
@ -269,21 +269,29 @@ class Actions
|
||||||
{
|
{
|
||||||
if (defined('APP_INSTALLED_START') && defined('APP_INSTALLED_VERSION') &&
|
if (defined('APP_INSTALLED_START') && defined('APP_INSTALLED_VERSION') &&
|
||||||
APP_INSTALLED_START && !APP_INSTALLED_VERSION)
|
APP_INSTALLED_START && !APP_INSTALLED_VERSION)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
$this->KeenIO('Install');
|
$this->KeenIO('Install');
|
||||||
}
|
}
|
||||||
|
catch (\Exception $oException) {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function BootEnd()
|
public function BootEnd()
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
if ($this->MailClient()->IsLoggined())
|
if ($this->MailClient()->IsLoggined())
|
||||||
{
|
{
|
||||||
$this->MailClient()->LogoutAndDisconnect();
|
$this->MailClient()->LogoutAndDisconnect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (\Exception $oException) {}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue