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(); }