<?php
-use Friendica\App;
use Friendica\Core\System;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Database\DBM;
use Friendica\Model\User;
-require_once("include/enotify.php");
-require_once("include/text.php");
-require_once('include/items.php');
+require_once 'include/enotify.php';
+require_once 'include/text.php';
+require_once 'include/items.php';
/**
* @brief Process send data from the admin panels subpages
use Friendica\Database\DBM;
use Friendica\Object\Contact;
-require_once('include/event.php');
-require_once('include/redir.php');
+require_once 'include/event.php';
+require_once 'include/redir.php';
function cal_init(App $a) {
if($a->argc > 1)
use Friendica\Database\DBM;
use Friendica\Object\Contact;
-require_once("include/contact_selectors.php");
-require_once("mod/contacts.php");
+require_once 'include/contact_selectors.php';
+require_once 'mod/contacts.php';
function crepair_init(App $a) {
if (! local_user()) {
if (DBM::is_result($r)) {
return $r[0]['total'];
}
-
+
return 0;
}
namespace Friendica\Protocol;
-use Friendica\App;
-use Friendica\Core\System;
-use Friendica\Core\Cache;
use Friendica\Core\Config;
use Friendica\Core\Worker;
use Friendica\Database\DBM;
public static function execute($param = '', $hook_name = '') {
global $a;
- require_once('include/datetime.php');
- require_once('include/items.php');
+ require_once 'include/datetime.php';
+ require_once 'include/items.php';
load_hooks();
*/
namespace Friendica\Worker;
-use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\Worker;
use Friendica\Database\DBM;