Remove requires

remove require_once statements
This commit is contained in:
Adam Magness 2018-01-15 20:16:14 -05:00
parent 33ac7a529f
commit 920a9b9b12
2 changed files with 1 additions and 3 deletions

View 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';

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