diff options
author | Mario <mario@mariovavti.com> | 2021-10-22 08:07:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-22 08:07:19 +0000 |
commit | 8bae40449f2a5bfcc6ef86f82be1e15bdb9b9acd (patch) | |
tree | 0ec6ef6ebfff3b9e07fb90df99b6caba654eccb6 /Zotlabs/Module/Item.php | |
parent | bc3bb4694a7bd3f41a08c4676db6dc999790d5e6 (diff) | |
download | volse-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.php | 5 |
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)); } |