some improvements

This commit is contained in:
Philipp Holzer 2019-05-19 03:12:22 +02:00
parent 8bb85b1da7
commit 5f068b07f9
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
2 changed files with 2 additions and 2 deletions

View file

@ -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()']]);

View file

@ -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
{