change imap_alerts to warning
Signed-off-by: Anojh Thayaparan <anojh@hotmail.com>
This commit is contained in:
@@ -71,8 +71,8 @@ class OC_User_IMAP extends \OCA\user_external\Base {
|
|||||||
'ERROR: IMAP Error: ' . print_r(imap_errors(), true),
|
'ERROR: IMAP Error: ' . print_r(imap_errors(), true),
|
||||||
['app' => 'user_external']
|
['app' => 'user_external']
|
||||||
);
|
);
|
||||||
OC::$server->getLogger()->error(
|
OC::$server->getLogger()->warning(
|
||||||
'ERROR: IMAP Warning: ' . print_r(imap_alerts(), true),
|
'WARNING: IMAP Warning: ' . print_r(imap_alerts(), true),
|
||||||
['app' => 'user_external']
|
['app' => 'user_external']
|
||||||
);
|
);
|
||||||
if($mbox !== false) {
|
if($mbox !== false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user