some improvements
authorPhilipp Holzer <admin+github@philipp.info>
Sun, 19 May 2019 01:12:22 +0000 (03:12 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sun, 19 May 2019 01:12:22 +0000 (03:12 +0200)
src/Model/GContact.php
src/Module/RandomProfile.php

index c259467..8c64712 100644 (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()']]);
index 325cc1e..3ecaa54 100644 (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
 {