mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-16 13:28:49 +00:00
remove includes
remove references to include/text.php
This commit is contained in:
parent
3edff62727
commit
37084c2c69
6 changed files with 1 additions and 7 deletions
|
@ -9,8 +9,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
require_once 'include/text.php';
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Content\Text;
|
||||
use Friendica\Core\Addon;
|
||||
|
|
|
@ -21,7 +21,6 @@ use Friendica\Util\Temporal;
|
|||
|
||||
require_once 'boot.php';
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/text.php';
|
||||
|
||||
function forumdirectory_install()
|
||||
{
|
||||
|
|
|
@ -22,7 +22,6 @@ use Friendica\Model\Item;
|
|||
|
||||
require_once 'mod/share.php';
|
||||
require_once 'mod/parse_url.php';
|
||||
require_once 'include/text.php';
|
||||
|
||||
function fromgplus_install() {
|
||||
Addon::registerHook('connector_settings', 'addon/fromgplus/fromgplus.php', 'fromgplus_addon_settings');
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
*/
|
||||
require_once 'mod/item.php';
|
||||
require_once 'include/items.php';
|
||||
require_once 'include/text.php';
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Content\Text;
|
||||
|
|
|
@ -37,7 +37,7 @@ function show_button(Friendica\App $a, &$b) {
|
|||
|
||||
/**
|
||||
*
|
||||
* I have copied this from /include/text.php, removed doubles
|
||||
* I have copied this from src/Content/Text.php, removed doubles
|
||||
* and escaped them.
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -89,7 +89,6 @@ use Friendica\Util\Network;
|
|||
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';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue