From: Philipp Holzer Date: Sun, 19 May 2019 01:12:22 +0000 (+0200) Subject: some improvements X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5f068b07f90692e96d84446178d7c7f0e471defd;p=friendica.git some improvements --- diff --git a/src/Model/GContact.php b/src/Model/GContact.php index c259467a86..8c64712812 100644 --- a/src/Model/GContact.php +++ b/src/Model/GContact.php @@ -1071,7 +1071,7 @@ class GContact $r = DBA::selectFirst('gcontact', ['url'], [ '`network` = ? AND `last_contact` >= `last_failure` - AND `updated` > ?', + AND `updated` > ?', Protocol::DFRN, DateTimeFormat::utc('now - 1 month'), ], ['order' => ['RAND()']]); diff --git a/src/Module/RandomProfile.php b/src/Module/RandomProfile.php index 325cc1e659..3ecaa54b76 100644 --- a/src/Module/RandomProfile.php +++ b/src/Module/RandomProfile.php @@ -7,7 +7,7 @@ use Friendica\Model\Contact; use Friendica\Model\GContact; /** - * Redirects to a random profile of this node + * Redirects to a random Friendica profile this node knows about */ class RandomProfile extends BaseModule {