Browse Source

Remove references to include/datetime

pull/4387/head
Hypolite Petovan 4 years ago
parent
commit
f020292408
28 changed files with 0 additions and 36 deletions
  1. +0
    -1
      boot.php
  2. +0
    -1
      include/api.php
  3. +0
    -2
      include/dba.php
  4. +0
    -2
      include/event.php
  5. +0
    -1
      mod/events.php
  6. +0
    -1
      mod/install.php
  7. +0
    -2
      mod/localtime.php
  8. +0
    -1
      mod/lostpass.php
  9. +0
    -1
      mod/ping.php
  10. +0
    -2
      mod/wall_attach.php
  11. +0
    -1
      src/Core/NotificationsManager.php
  12. +0
    -1
      src/Model/GContact.php
  13. +0
    -1
      src/Model/Mail.php
  14. +0
    -1
      src/Model/Process.php
  15. +0
    -1
      src/Model/Queue.php
  16. +0
    -1
      src/Module/Login.php
  17. +0
    -1
      src/Protocol/Diaspora.php
  18. +0
    -1
      src/Protocol/PortableContact.php
  19. +0
    -2
      src/Worker/Cron.php
  20. +0
    -2
      src/Worker/CronHooks.php
  21. +0
    -1
      src/Worker/CronJobs.php
  22. +0
    -1
      src/Worker/Delivery.php
  23. +0
    -2
      src/Worker/DiscoverPoCo.php
  24. +0
    -1
      src/Worker/Expire.php
  25. +0
    -2
      src/Worker/GProbe.php
  26. +0
    -1
      src/Worker/Notifier.php
  27. +0
    -1
      src/Worker/OnePoll.php
  28. +0
    -1
      src/Worker/Queue.php

+ 0
- 1
boot.php View File

@ -32,7 +32,6 @@ use Friendica\Model\Contact;
use Friendica\Util\DateTimeFormat;
require_once 'include/text.php';
require_once 'include/datetime.php';
define('FRIENDICA_PLATFORM', 'Friendica');
define('FRIENDICA_CODENAME', 'Asparagus');


+ 0
- 1
include/api.php View File

@ -41,7 +41,6 @@ use Friendica\Util\Network;
use Friendica\Util\XML;
require_once 'include/bbcode.php';
require_once 'include/datetime.php';
require_once 'include/conversation.php';
require_once 'include/html2plain.php';
require_once 'mod/share.php';


+ 0
- 2
include/dba.php View File

@ -6,8 +6,6 @@ use Friendica\Database\DBM;
use Friendica\Database\DBStructure;
use Friendica\Util\DateTimeFormat;
require_once('include/datetime.php');
/**
* @class MySQL database class
*


+ 0
- 2
include/event.php View File

@ -16,7 +16,6 @@ use Friendica\Util\DateTimeFormat;
use Friendica\Util\Map;
require_once 'include/bbcode.php';
require_once 'include/datetime.php';
require_once 'include/conversation.php';
function format_event_html($ev, $simple = false) {
@ -238,7 +237,6 @@ function event_delete($event_id) {
*/
function event_store($arr) {
require_once 'include/datetime.php';
require_once 'include/items.php';
require_once 'include/bbcode.php';


+ 0
- 1
mod/events.php View File

@ -16,7 +16,6 @@ use Friendica\Util\DateTimeFormat;
use Friendica\Util\Temporal;
require_once 'include/bbcode.php';
require_once 'include/datetime.php';
require_once 'include/event.php';
require_once 'include/items.php';


+ 0
- 1
mod/install.php View File

@ -253,7 +253,6 @@ function install_content(App $a) {
return $o;
}; break;
case 3: { // Site settings
require_once('include/datetime.php');
$dbhost = ((x($_POST, 'dbhost')) ? notags(trim($_POST['dbhost'])) : 'localhost');
$dbuser = notags(trim($_POST['dbuser']));
$dbpass = notags(trim($_POST['dbpass']));


+ 0
- 2
mod/localtime.php View File

@ -9,8 +9,6 @@ use Friendica\Core\System;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Temporal;
require_once 'include/datetime.php';
function localtime_post(App $a)
{
$t = $_REQUEST['time'];


+ 0
- 1
mod/lostpass.php View File

@ -11,7 +11,6 @@ use Friendica\Model\User;
use Friendica\Util\DateTimeFormat;
require_once 'boot.php';
require_once 'include/datetime.php';
require_once 'include/enotify.php';
require_once 'include/text.php';


+ 0
- 1
mod/ping.php View File

@ -18,7 +18,6 @@ use Friendica\Util\DateTimeFormat;
use Friendica\Util\Temporal;
use Friendica\Util\XML;
require_once 'include/datetime.php';
require_once 'include/bbcode.php';
require_once 'mod/proxy.php';
require_once 'include/enotify.php';


+ 0
- 2
mod/wall_attach.php View File

@ -10,8 +10,6 @@ use Friendica\Database\DBM;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Mimetype;
require_once 'include/datetime.php';
function wall_attach_post(App $a) {
$r_json = (x($_GET,'response') && $_GET['response']=='json');


+ 0
- 1
src/Core/NotificationsManager.php View File

@ -19,7 +19,6 @@ use Friendica\Util\XML;
require_once 'include/dba.php';
require_once 'include/html2plain.php';
require_once 'include/datetime.php';
require_once 'include/bbcode.php';
/**


+ 0
- 1
src/Model/GContact.php View File

@ -19,7 +19,6 @@ use Friendica\Util\Network;
use dba;
use Exception;
require_once 'include/datetime.php';
require_once 'include/dba.php';
require_once 'include/html2bbcode.php';


+ 0
- 1
src/Model/Mail.php View File

@ -14,7 +14,6 @@ use Friendica\Util\DateTimeFormat;
use dba;
require_once 'include/dba.php';
require_once 'include/datetime.php';
/**
* Class to handle private messages


+ 0
- 1
src/Model/Process.php View File

@ -9,7 +9,6 @@ use Friendica\Util\DateTimeFormat;
use dba;
require_once 'include/dba.php';
require_once 'include/datetime.php';
/**
* @brief functions for interacting with a process


+ 0
- 1
src/Model/Queue.php View File

@ -10,7 +10,6 @@ use Friendica\Util\DateTimeFormat;
use dba;
require_once 'include/dba.php';
require_once 'include/datetime.php';
class Queue
{


+ 0
- 1
src/Module/Login.php View File

@ -17,7 +17,6 @@ use Exception;
use LightOpenID;
require_once 'boot.php';
require_once 'include/datetime.php';
require_once 'include/security.php';
require_once 'include/text.php';


+ 0
- 1
src/Protocol/Diaspora.php View File

@ -34,7 +34,6 @@ use SimpleXMLElement;
require_once 'include/dba.php';
require_once 'include/items.php';
require_once 'include/bb2diaspora.php';
require_once 'include/datetime.php';
/**
* @brief This class contain functions to create and send Diaspora XML files


+ 0
- 1
src/Protocol/PortableContact.php View File

@ -23,7 +23,6 @@ use DOMXPath;
use Exception;
require_once 'include/dba.php';
require_once 'include/datetime.php';
require_once 'include/html2bbcode.php';
class PortableContact


+ 0
- 2
src/Worker/Cron.php View File

@ -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);


+ 0
- 2
src/Worker/CronHooks.php View File

@ -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) {


+ 0
- 1
src/Worker/CronJobs.php View File

@ -25,7 +25,6 @@ class CronJobs
{
global $a;
require_once 'include/datetime.php';
require_once 'mod/nodeinfo.php';
// No parameter set? So return


+ 0
- 1
src/Worker/Delivery.php View File

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


+ 0
- 2
src/Worker/DiscoverPoCo.php View File

@ -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 = '')


+ 0
- 1
src/Worker/Expire.php View File

@ -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();


+ 0
- 2
src/Worker/GProbe.php View File

@ -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 = '')
{


+ 0
- 1
src/Worker/Notifier.php View File

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


+ 0
- 1
src/Worker/OnePoll.php View File

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


+ 0
- 1
src/Worker/Queue.php View File

@ -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…
Cancel
Save