There is no LOGGER_WARNING (triggering E_NOTICE about absent constant). Either (#5448)

declare it and push all other numbers higher or use LOGGER_NORMAL.
This commit is contained in:
Roland Häder 2018-07-22 18:33:28 +02:00 committed by Hypolite Petovan
parent 2970a976d5
commit 2e332134d4
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ class DFRN
);
if (! DBM::is_result($r)) {
logger(sprintf('No contact found for nickname=%d', $owner_nick), LOGGER_WARNING);
logger(sprintf('No contact found for nickname=%d', $owner_nick), LOGGER_NORMAL);
killme();
}
@ -170,7 +170,7 @@ class DFRN
);
if (! DBM::is_result($r)) {
logger(sprintf('No contact found for uid=%d', $owner_id), LOGGER_WARNING);
logger(sprintf('No contact found for uid=%d', $owner_id), LOGGER_NORMAL);
killme();
}