]> git.mxchange.org Git - friendica.git/commitdiff
There is no LOGGER_WARNING (triggering E_NOTICE about absent constant). Either (...
authorRoland Häder <Quix0r@users.noreply.github.com>
Sun, 22 Jul 2018 16:33:28 +0000 (18:33 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Sun, 22 Jul 2018 16:33:28 +0000 (12:33 -0400)
declare it and push all other numbers higher or use LOGGER_NORMAL.

src/Protocol/DFRN.php

index 3e8d99e7cb0f8fd928ba691f88378dbf02a918b5..92faba526e24d8f41c4b36c5fe0024434b98c575 100644 (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();
                        }