]> git.mxchange.org Git - friendica.git/commitdiff
Fixes:
authorRoland Häder <roland@mxchange.org>
Sun, 13 May 2018 08:06:43 +0000 (10:06 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 13 May 2018 08:06:43 +0000 (10:06 +0200)
- brought back comment (ops)
- DBM is the class name (not dbm)

Signed-off-by: Roland Häder <roland@mxchange.org>
mod/poco.php
src/Protocol/DFRN.php

index 183d7acd1271c0a61d1aee0fb7c5d946006aaad1..671551f832589e89ab4c839e1c48ada353a79cb7 100644 (file)
@@ -45,6 +45,7 @@ function poco_init(App $a) {
        }
 
        if ($a->argc > 1 && $a->argv[1] === '@global') {
+               // List of all profiles that this server recently had data from
                $global = true;
                $update_limit = date(DateTimeFormat::MYSQL, time() - 30 * 86400);
        }
index 5a0151c1ca346191cd190fd87e473295669c463c..0f9cbeafabbcef512c20923b7849c59784862f35 100644 (file)
@@ -132,7 +132,7 @@ class DFRN
                        dbesc($owner_nick)
                );
 
-               if (! dbm::is_result($r)) {
+               if (! DBM::is_result($r)) {
                        logger(sprintf('No contact found for nickname=%d', $owner_nick), LOGGER_WARNING);
                        killme();
                }