]> git.mxchange.org Git - friendica.git/commitdiff
gsFunctions renamed
authorAdam Magness <adam.magness@gmail.com>
Wed, 15 Nov 2017 17:02:08 +0000 (12:02 -0500)
committerAdam Magness <adam.magness@gmail.com>
Wed, 15 Nov 2017 17:02:08 +0000 (12:02 -0500)
gsFetchUsers -> fetchGsUsers
gsDiscover -> discoverGsUsers

include/discover_poco.php
src/Model/GlobalContact.php

index 3e374de9433e215da1b933ffbdff9f654ff75e46..fd72d694017bd361bce7fd24dd307e287c39dcfa 100644 (file)
@@ -98,7 +98,7 @@ function discover_poco_run(&$argv, &$argc)
 
                // Query GNU Social servers for their users ("statistics" addon has to be enabled on the GS server)
                if (!Config::get('system', 'ostatus_disabled')) {
-                       GlobalContact::gsDiscover();
+                       GlobalContact::discoverGsUsers();
                }
        }
 
index 639c8272d0198ab01f6626bdf00cd797ca715419..2e16c687f970cab0de0b46844b3372036277be0d 100644 (file)
@@ -924,7 +924,7 @@ class GlobalContact
         *
         * @param str $server Server address
         */
-       public static function gsFetchUsers($server)
+       public static function fetchGsUsers($server)
        {
                logger("Fetching users from GNU Social server ".$server, LOGGER_DEBUG);
 
@@ -980,7 +980,7 @@ class GlobalContact
         * @brief Asking GNU Social server on a regular base for their user data
         *
         */
-       public static function gsDiscover()
+       public static function discoverGsUsers()
        {
                $requery_days = intval(Config::get("system", "poco_requery_days"));
 
@@ -997,7 +997,7 @@ class GlobalContact
                }
 
                foreach ($r as $server) {
-                       self::gsFetchUsers($server["url"]);
+                       self::fetchGsUsers($server["url"]);
                        q("UPDATE `gserver` SET `last_poco_query` = '%s' WHERE `nurl` = '%s'", dbesc(datetime_convert()), dbesc($server["nurl"]));
                }
        }