From 920a9b9b12b656860b55511fae0ad38eac2fba98 Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Mon, 15 Jan 2018 20:16:14 -0500 Subject: [PATCH] Remove requires remove require_once statements --- src/Worker/Notifier.php | 1 - src/Worker/OnePoll.php | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index 7c1749f5fd..4b20da314c 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 9a4ce757a8..3c7df172ab 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'); -- 2.39.5