]> git.mxchange.org Git - friendica.git/commitdiff
Remove requires
authorAdam Magness <adam.magness@gmail.com>
Tue, 16 Jan 2018 01:16:14 +0000 (20:16 -0500)
committerAdam Magness <adam.magness@gmail.com>
Tue, 16 Jan 2018 01:16:14 +0000 (20:16 -0500)
remove require_once statements

src/Worker/Notifier.php
src/Worker/OnePoll.php

index 7c1749f5fd566f91785b17bf2479e8b16dc36986..4b20da314c6a87a211e5f42e5d299fa82260cd00 100644 (file)
@@ -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';
index 9a4ce757a854a9220c51f8e33063de4658680650..3c7df172ab7171530044b7bae605fa7ec101c72e 100644 (file)
@@ -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');