]> git.mxchange.org Git - friendica.git/commitdiff
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 c259467a861a32cfde1544ccebc93be921a508c9..8c647128125d5fb32167d38173f92e12c64ae68b 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 325cc1e6598d1306cb514b7c2daae019ca938755..3ecaa54b7607bc51f32099997380cd47defc64bc 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
 {