]> git.mxchange.org Git - friendica.git/commitdiff
Merge branch 'develop' into issue/3878-move-Contact-to-src
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 19 Nov 2017 23:09:14 +0000 (18:09 -0500)
committerGitHub <noreply@github.com>
Sun, 19 Nov 2017 23:09:14 +0000 (18:09 -0500)
1  2 
boot.php
mod/admin.php
src/Worker/OnePoll.php

diff --cc boot.php
Simple merge
diff --cc mod/admin.php
Simple merge
index 122b400bb8f2b9f24353f340ac0a6fe13785c377,374c69f13f1cd519194b2981b6440afe1a3a004f..356fce4337ff2a708c0c28185a0051b8cae39f4c
@@@ -206,9 -206,9 +206,9 @@@ Class OnePol
                        }
  
                        if (!strstr($handshake_xml, '<')) {
-                               logger('poller: response from ' . $url . ' did not contain XML.');
+                               logger('response from ' . $url . ' did not contain XML.');
  
 -                              mark_for_death($contact);
 +                              Contact::markForArchival($contact);
  
                                $fields = array('last-update' => datetime_convert(), 'failure_update' => datetime_convert());
                                dba::update('contact', $fields, array('id' => $contact['id']));
                                $fields = array('last-update' => datetime_convert(), 'failure_update' => datetime_convert());
                                dba::update('contact', $fields, array('id' => $contact['id']));
  
 -                              mark_for_death($contact);
 +                              Contact::markForArchival($contact);
                        } elseif ($contact['term-date'] > NULL_DATE) {
-                               logger("poller: $url back from the dead - removing mark for death");
+                               logger("$url back from the dead - removing mark for death");
 -                              unmark_for_death($contact);
 +                              Contact::unmarkForArchival($contact);
                        }
  
                        if ((intval($res->status) != 0) || !strlen($res->challenge) || !strlen($res->dfrn_id)) {