Remove requires
remove require_once statements
This commit is contained in:
parent
33ac7a529f
commit
920a9b9b12
|
@ -17,7 +17,6 @@ use Friendica\Protocol\Salmon;
|
||||||
use dba;
|
use dba;
|
||||||
|
|
||||||
require_once 'include/dba.php';
|
require_once 'include/dba.php';
|
||||||
require_once 'include/queue_fn.php';
|
|
||||||
require_once 'include/html2plain.php';
|
require_once 'include/html2plain.php';
|
||||||
require_once 'include/datetime.php';
|
require_once 'include/datetime.php';
|
||||||
require_once 'include/items.php';
|
require_once 'include/items.php';
|
||||||
|
|
|
@ -14,14 +14,13 @@ use dba;
|
||||||
|
|
||||||
require_once 'include/dba.php';
|
require_once 'include/dba.php';
|
||||||
|
|
||||||
Class OnePoll
|
class OnePoll
|
||||||
{
|
{
|
||||||
public static function execute($contact_id = 0, $command = '') {
|
public static function execute($contact_id = 0, $command = '') {
|
||||||
global $a;
|
global $a;
|
||||||
|
|
||||||
require_once 'include/datetime.php';
|
require_once 'include/datetime.php';
|
||||||
require_once 'include/items.php';
|
require_once 'include/items.php';
|
||||||
require_once 'include/queue_fn.php';
|
|
||||||
|
|
||||||
logger('start');
|
logger('start');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue