aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Item.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-22 08:07:19 +0000
committerMario <mario@mariovavti.com>2021-10-22 08:07:19 +0000
commit8bae40449f2a5bfcc6ef86f82be1e15bdb9b9acd (patch)
tree0ec6ef6ebfff3b9e07fb90df99b6caba654eccb6 /Zotlabs/Module/Item.php
parentbc3bb4694a7bd3f41a08c4676db6dc999790d5e6 (diff)
downloadvolse-hubzilla-8bae40449f2a5bfcc6ef86f82be1e15bdb9b9acd.tar.gz
volse-hubzilla-8bae40449f2a5bfcc6ef86f82be1e15bdb9b9acd.tar.bz2
volse-hubzilla-8bae40449f2a5bfcc6ef86f82be1e15bdb9b9acd.zip
remove library/urlify and use vendor/jbroadway/urlify instead
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r--Zotlabs/Module/Item.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index 7099a54e5..34ca4fcdf 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -2,6 +2,7 @@
namespace Zotlabs\Module;
+use URLify;
use Zotlabs\Lib\Config;
use Zotlabs\Lib\IConfig;
use Zotlabs\Lib\Enotify;
@@ -15,7 +16,6 @@ use Zotlabs\Lib\Libzot;
use Zotlabs\Lib\Libsync;
use Zotlabs\Lib\ThreadListener;
use Zotlabs\Access\PermissionRoles;
-use App;
require_once('include/crypto.php');
require_once('include/items.php');
@@ -415,8 +415,7 @@ class Item extends Controller {
}
if($pagetitle) {
- require_once('library/urlify/URLify.php');
- $pagetitle = strtolower(\URLify::transliterate($pagetitle));
+ $pagetitle = strtolower(URLify::transliterate($pagetitle));
}