change imap_alerts to warning

Signed-off-by: Anojh Thayaparan <anojh@hotmail.com>
This commit is contained in:
Anojh Thayaparan
2019-01-28 10:26:20 -08:00
parent d83a883a1c
commit ba19fc9515

View File

@@ -71,8 +71,8 @@ class OC_User_IMAP extends \OCA\user_external\Base {
'ERROR: IMAP Error: ' . print_r(imap_errors(), true),
['app' => 'user_external']
);
OC::$server->getLogger()->error(
'ERROR: IMAP Warning: ' . print_r(imap_alerts(), true),
OC::$server->getLogger()->warning(
'WARNING: IMAP Warning: ' . print_r(imap_alerts(), true),
['app' => 'user_external']
);
if($mbox !== false) {