Includes and calls

Remove includes and update function calls
This commit is contained in:
Adam Magness 2018-01-09 09:59:52 -05:00
parent edfb08a779
commit a59ab5552e
9 changed files with 25 additions and 24 deletions

View file

@ -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');