From 11b67d498195993af74cce3dd0a5fcf981511bd8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 22 Jul 2018 18:14:40 +0200 Subject: [PATCH] There is no LOGGER_WARNING (triggering E_NOTICE about absent constant). Either declare it and push all other numbers higher or use LOGGER_NORMAL. --- src/Protocol/DFRN.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.39.5