mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 03:59:21 +03:00
Extensions use \MailSo\Log\Inherit
This commit is contained in:
parent
c4acb26758
commit
a424c6a52a
5 changed files with 13 additions and 38 deletions
|
|
@ -2,10 +2,7 @@
|
|||
|
||||
class NextcloudContactsSuggestions implements \RainLoop\Providers\Suggestions\ISuggestions
|
||||
{
|
||||
/**
|
||||
* @var \MailSo\Log\Logger
|
||||
*/
|
||||
private $oLogger = null;
|
||||
use \MailSo\Log\Inherit;
|
||||
|
||||
private bool $ignoreSystemAddressbook;
|
||||
|
||||
|
|
@ -75,16 +72,9 @@ class NextcloudContactsSuggestions implements \RainLoop\Providers\Suggestions\IS
|
|||
}
|
||||
catch (\Exception $oException)
|
||||
{
|
||||
if ($this->oLogger) {
|
||||
$this->oLogger->WriteException($oException);
|
||||
}
|
||||
$this->logException($oException);
|
||||
}
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
public function SetLogger(\MailSo\Log\Logger $oLogger)
|
||||
{
|
||||
$this->oLogger = $oLogger;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue