mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Remove require include/*
This commit is contained in:
parent
2e8f2916df
commit
85b5715a44
11 changed files with 0 additions and 41 deletions
|
@ -90,11 +90,6 @@ use Friendica\Util\DateTimeFormat;
|
|||
use Friendica\Util\Network;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
require_once 'boot.php';
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/enotify.php';
|
||||
require_once 'include/text.php';
|
||||
|
||||
require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
|
||||
|
||||
define('TWITTER_DEFAULT_POLL_INTERVAL', 5); // given in minutes
|
||||
|
@ -804,8 +799,6 @@ function twitter_expire(App $a)
|
|||
}
|
||||
DBA::close($r);
|
||||
|
||||
require_once "include/items.php";
|
||||
|
||||
Logger::log('twitter_expire: expire_start');
|
||||
|
||||
$r = q("SELECT * FROM `pconfig` WHERE `cat` = 'twitter' AND `k` = 'import' AND `v` = '1' ORDER BY RAND()");
|
||||
|
@ -935,7 +928,6 @@ function twitter_fetchtimeline(App $a, $uid)
|
|||
$has_picture = false;
|
||||
|
||||
require_once 'mod/item.php';
|
||||
require_once 'include/items.php';
|
||||
require_once 'mod/share.php';
|
||||
|
||||
$connection = new TwitterOAuth($ckey, $csecret, $otoken, $osecret);
|
||||
|
@ -1663,8 +1655,6 @@ function twitter_fetchhometimeline(App $a, $uid)
|
|||
$application_name = $a->getHostName();
|
||||
}
|
||||
|
||||
require_once 'include/items.php';
|
||||
|
||||
$connection = new TwitterOAuth($ckey, $csecret, $otoken, $osecret);
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue