From: Banana Date: Mon, 11 Sep 2023 09:45:45 +0000 (+0200) Subject: update simple-imag class X-Git-Tag: 2.8.2_20230914~12 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=55a4ef4d32a67661908ef1a584871741d0b100df;p=insipid.git update simple-imag class --- diff --git a/webroot/lib/simple-imap.class.php b/webroot/lib/simple-imap.class.php index b85a646..34d793c 100644 --- a/webroot/lib/simple-imap.class.php +++ b/webroot/lib/simple-imap.class.php @@ -126,8 +126,8 @@ class SimpleImap { } # log messages processed to all messages - error_log("INFO Read ".$messagecount." messages"); - error_log("INFO Processed ".$processedmessagescount." messages"); + Summoner::sysLog("INFO Read ".$messagecount." messages"); + Summoner::sysLog("INFO Processed ".$processedmessagescount." messages"); return $ret; @@ -160,7 +160,7 @@ class SimpleImap { echo $val->attributes . "
\n"; } } else { - error_log("ERROR imap_getmailboxes failed: ".var_export(imap_last_error())); + Summoner::sysLog("ERROR imap_getmailboxes failed: ".var_export(imap_last_error())); } } }