]> git.mxchange.org Git - friendica.git/commitdiff
There is no LOGGER_WARNING (triggering E_NOTICE about absent constant). Either fixes/logger-warning-absent
authorRoland Häder <roland@mxchange.org>
Sun, 22 Jul 2018 16:14:40 +0000 (18:14 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 22 Jul 2018 16:14:40 +0000 (18:14 +0200)
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();
                        }