mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:10:12 +00:00
Logger Levels
update logger levels in calls
This commit is contained in:
parent
91ef9f238c
commit
50da89d861
86 changed files with 673 additions and 673 deletions
|
@ -55,21 +55,21 @@ class Email
|
|||
if (!$search1) {
|
||||
$search1 = [];
|
||||
} else {
|
||||
Logger::log("Found mails from ".$email_addr, LOGGER_DEBUG);
|
||||
Logger::log("Found mails from ".$email_addr, Logger::DEBUG);
|
||||
}
|
||||
|
||||
$search2 = @imap_search($mbox, 'TO "' . $email_addr . '"', SE_UID);
|
||||
if (!$search2) {
|
||||
$search2 = [];
|
||||
} else {
|
||||
Logger::log("Found mails to ".$email_addr, LOGGER_DEBUG);
|
||||
Logger::log("Found mails to ".$email_addr, Logger::DEBUG);
|
||||
}
|
||||
|
||||
$search3 = @imap_search($mbox, 'CC "' . $email_addr . '"', SE_UID);
|
||||
if (!$search3) {
|
||||
$search3 = [];
|
||||
} else {
|
||||
Logger::log("Found mails cc ".$email_addr, LOGGER_DEBUG);
|
||||
Logger::log("Found mails cc ".$email_addr, Logger::DEBUG);
|
||||
}
|
||||
|
||||
$res = array_unique(array_merge($search1, $search2, $search3));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue