From 8b96145df6c1abb16226b813f8951a2992b380e6 Mon Sep 17 00:00:00 2001 From: djmaze Date: Wed, 8 Dec 2021 23:38:22 +0100 Subject: [PATCH] Bugfix: Class 'RainLoop\Model\Notifications' not found --- snappymail/v/0.0.0/app/libraries/RainLoop/Actions/UserAuth.php | 2 +- snappymail/v/0.0.0/app/libraries/RainLoop/Model/Account.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/UserAuth.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/UserAuth.php index 03ee91b3f..6eb3a4d86 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/UserAuth.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/UserAuth.php @@ -222,7 +222,7 @@ trait UserAuth } if ($bThrowExceptionOnFalse && !$this->oMainAuthAccount) { - throw new ClientException(\RainLoop\Notifications::AuthError); + throw new ClientException(Notifications::AuthError); } } diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Model/Account.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Model/Account.php index b3a73bb2c..3ef53d06d 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Model/Account.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Model/Account.php @@ -3,6 +3,7 @@ namespace RainLoop\Model; use RainLoop\Utils; +use RainLoop\Notifications; use RainLoop\Exceptions\ClientException; abstract class Account implements \JsonSerializable