From: Adam Magness Date: Tue, 16 Jan 2018 01:16:14 +0000 (-0500) Subject: Remove requires X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=920a9b9b12b656860b55511fae0ad38eac2fba98;p=friendica.git Remove requires remove require_once statements --- 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');