diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php index 047ec84fa..45790c305 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions.php @@ -147,7 +147,6 @@ class Actions } $this->oPlugins = new Plugins\Manager($this); - $this->oPlugins->SetLogger($this->oLogger); $this->oPlugins->RunHook('filter.application-config', array($this->oConfig)); } diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Plugins/Manager.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Plugins/Manager.php index 5fe62aaab..4e09f7212 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Plugins/Manager.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Plugins/Manager.php @@ -6,10 +6,7 @@ class Manager { use \MailSo\Log\Inherit; - /** - * @var \RainLoop\Actions - */ - private $oActions; + private \RainLoop\Actions $oActions; private array $aHooks = array(), @@ -26,6 +23,7 @@ class Manager public function __construct(\RainLoop\Actions $oActions) { $this->oActions = $oActions; + $this->SetLogger($oActions->Logger()); $oConfig = $oActions->Config(); $this->bIsEnabled = (bool) $oConfig->Get('plugins', 'enable', false);