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:
committed by
Hypolite Petovan
parent
2970a976d5
commit
2e332134d4
@@ -134,7 +134,7 @@ class DFRN
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (! DBM::is_result($r)) {
|
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();
|
killme();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -170,7 +170,7 @@ class DFRN
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (! DBM::is_result($r)) {
|
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();
|
killme();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user