]> git.mxchange.org Git - friendica.git/commitdiff
Poco: Only fetch the latest post if it wasn't provided.
authorMichael Vogel <icarus@dabo.de>
Sat, 25 Jul 2015 12:51:56 +0000 (14:51 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 25 Jul 2015 12:51:56 +0000 (14:51 +0200)
include/socgraph.php

index 1f3536a9f235d11b88df3d327352e806d56cf4ca..6111e077908a341ab5f90ac01d6d8822a56f9ca3 100644 (file)
@@ -265,8 +265,7 @@ function poco_check($profile_url, $name, $network, $profile_photo, $about, $loca
        poco_check_server($server_url, $network);
 
        // Fetch last update manually if it is enabled in the system
-       // AND ($orig_updated == "0000-00-00 00:00:00")
-       if (get_config('system','poco_completion')
+       if (get_config('system','poco_completion') AND ($orig_updated == "0000-00-00 00:00:00")
                AND poco_do_update($created, $updated, $last_failure, $last_contact)
                AND poco_reachable($profile_url, $server_url, $network)) {
                $last_updated = poco_last_updated($profile_url);