]> 91.132.146.200 Git - insipid.git/commitdiff
update simple-imag class
authorBanana <mail@bananas-playground.net>
Mon, 11 Sep 2023 09:45:45 +0000 (11:45 +0200)
committerBanana <mail@bananas-playground.net>
Mon, 11 Sep 2023 09:45:45 +0000 (11:45 +0200)
webroot/lib/simple-imap.class.php

index b85a646397b1b806bea23262eed50010ad30e3b0..34d793cf0f12e6447c45b71b476913cd3cd3d965 100644 (file)
@@ -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 . "<br />\n";
                    }
                } else {
-                   error_log("ERROR imap_getmailboxes failed: ".var_export(imap_last_error()));
+                Summoner::sysLog("ERROR imap_getmailboxes failed: ".var_export(imap_last_error()));
                }
            }
        }