From: Roland Häder Date: Sun, 13 May 2018 08:06:43 +0000 (+0200) Subject: Fixes: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=445cc1cb99b244482141723c724f769c37cca32d;p=friendica.git Fixes: - brought back comment (ops) - DBM is the class name (not dbm) Signed-off-by: Roland Häder --- diff --git a/mod/poco.php b/mod/poco.php index 183d7acd12..671551f832 100644 --- a/mod/poco.php +++ b/mod/poco.php @@ -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); } diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 5a0151c1ca..0f9cbeafab 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -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(); }