diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index 7c1749f5f..4b20da314 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -17,7 +17,6 @@ use Friendica\Protocol\Salmon; use dba; require_once 'include/dba.php'; -require_once 'include/queue_fn.php'; require_once 'include/html2plain.php'; require_once 'include/datetime.php'; require_once 'include/items.php'; diff --git a/src/Worker/OnePoll.php b/src/Worker/OnePoll.php index 9a4ce757a..3c7df172a 100644 --- a/src/Worker/OnePoll.php +++ b/src/Worker/OnePoll.php @@ -14,14 +14,13 @@ use dba; require_once 'include/dba.php'; -Class OnePoll +class OnePoll { public static function execute($contact_id = 0, $command = '') { global $a; require_once 'include/datetime.php'; require_once 'include/items.php'; - require_once 'include/queue_fn.php'; logger('start');