Poco: Only fetch the latest post if it wasn't provided.
This commit is contained in:
parent
dcfcd6f906
commit
5f524006dd
1 changed files with 1 additions and 2 deletions
|
@ -265,8 +265,7 @@ function poco_check($profile_url, $name, $network, $profile_photo, $about, $loca
|
||||||
poco_check_server($server_url, $network);
|
poco_check_server($server_url, $network);
|
||||||
|
|
||||||
// Fetch last update manually if it is enabled in the system
|
// 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') AND ($orig_updated == "0000-00-00 00:00:00")
|
||||||
if (get_config('system','poco_completion')
|
|
||||||
AND poco_do_update($created, $updated, $last_failure, $last_contact)
|
AND poco_do_update($created, $updated, $last_failure, $last_contact)
|
||||||
AND poco_reachable($profile_url, $server_url, $network)) {
|
AND poco_reachable($profile_url, $server_url, $network)) {
|
||||||
$last_updated = poco_last_updated($profile_url);
|
$last_updated = poco_last_updated($profile_url);
|
||||||
|
|
Loading…
Reference in a new issue