From: Roland Häder Date: Sun, 22 Jul 2018 16:14:40 +0000 (+0200) Subject: There is no LOGGER_WARNING (triggering E_NOTICE about absent constant). Either X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=refs%2Fheads%2Ffixes%2Flogger-warning-absent;p=friendica.git There is no LOGGER_WARNING (triggering E_NOTICE about absent constant). Either declare it and push all other numbers higher or use LOGGER_NORMAL. --- diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 3e8d99e7cb..92faba526e 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -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(); }