mirror of
https://github.com/friendica/friendica
synced 2025-05-05 21:44:11 +02:00
Remove references to include/datetime
This commit is contained in:
parent
cea80c78e4
commit
f020292408
28 changed files with 0 additions and 36 deletions
|
@ -17,8 +17,6 @@ Class Cron {
|
|||
public static function execute($parameter = '', $generation = 0) {
|
||||
global $a;
|
||||
|
||||
require_once 'include/datetime.php';
|
||||
|
||||
// Poll contacts with specific parameters
|
||||
if (!empty($parameter)) {
|
||||
self::pollContacts($parameter, $generation);
|
||||
|
|
|
@ -14,8 +14,6 @@ Class CronHooks {
|
|||
public static function execute($hook = '') {
|
||||
global $a;
|
||||
|
||||
require_once 'include/datetime.php';
|
||||
|
||||
if (($hook != '') && is_array($a->hooks) && array_key_exists("cron", $a->hooks)) {
|
||||
foreach ($a->hooks["cron"] as $single_hook) {
|
||||
if ($single_hook[1] == $hook) {
|
||||
|
|
|
@ -25,7 +25,6 @@ class CronJobs
|
|||
{
|
||||
global $a;
|
||||
|
||||
require_once 'include/datetime.php';
|
||||
require_once 'mod/nodeinfo.php';
|
||||
|
||||
// No parameter set? So return
|
||||
|
|
|
@ -18,7 +18,6 @@ use Friendica\Protocol\Email;
|
|||
use dba;
|
||||
|
||||
require_once 'include/html2plain.php';
|
||||
require_once 'include/datetime.php';
|
||||
require_once 'include/items.php';
|
||||
require_once 'include/bbcode.php';
|
||||
|
||||
|
|
|
@ -14,8 +14,6 @@ use Friendica\Protocol\PortableContact;
|
|||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Network;
|
||||
|
||||
require_once 'include/datetime.php';
|
||||
|
||||
class DiscoverPoCo {
|
||||
/// @todo Clean up this mess of a parameter hell and split it in several classes
|
||||
public static function execute($command = '', $param1 = '', $param2 = '', $param3 = '', $param4 = '')
|
||||
|
|
|
@ -19,7 +19,6 @@ class Expire {
|
|||
public static function execute($param = '', $hook_name = '') {
|
||||
global $a;
|
||||
|
||||
require_once 'include/datetime.php';
|
||||
require_once 'include/items.php';
|
||||
|
||||
Addon::loadHooks();
|
||||
|
|
|
@ -11,8 +11,6 @@ use Friendica\Model\GContact;
|
|||
use Friendica\Network\Probe;
|
||||
use Friendica\Protocol\PortableContact;
|
||||
|
||||
require_once 'include/datetime.php';
|
||||
|
||||
class GProbe {
|
||||
public static function execute($url = '')
|
||||
{
|
||||
|
|
|
@ -19,7 +19,6 @@ use dba;
|
|||
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/html2plain.php';
|
||||
require_once 'include/datetime.php';
|
||||
require_once 'include/items.php';
|
||||
require_once 'include/bbcode.php';
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ class OnePoll
|
|||
public static function execute($contact_id = 0, $command = '') {
|
||||
global $a;
|
||||
|
||||
require_once 'include/datetime.php';
|
||||
require_once 'include/items.php';
|
||||
|
||||
logger('start');
|
||||
|
|
|
@ -16,7 +16,6 @@ use Friendica\Protocol\Salmon;
|
|||
use dba;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/datetime.php';
|
||||
require_once 'include/items.php';
|
||||
require_once 'include/bbcode.php';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue