mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:10:10 +00:00
Includes and calls
Remove includes and update function calls
This commit is contained in:
parent
edfb08a779
commit
a59ab5552e
9 changed files with 25 additions and 24 deletions
|
@ -13,7 +13,6 @@ use Friendica\Protocol\PortableContact;
|
|||
use dba;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/follow.php';
|
||||
|
||||
Class OnePoll
|
||||
{
|
||||
|
@ -118,7 +117,7 @@ Class OnePoll
|
|||
return;
|
||||
}
|
||||
|
||||
if (!update_contact($contact["id"])) {
|
||||
if (!Contact::update($contact["id"])) {
|
||||
Contact::markForArchival($contact);
|
||||
logger('Contact is marked dead');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue