some improvements
This commit is contained in:
parent
8bb85b1da7
commit
5f068b07f9
|
@ -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()']]);
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue