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/New_channel.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/New_channel.php')
-rw-r--r-- | Zotlabs/Module/New_channel.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/New_channel.php b/Zotlabs/Module/New_channel.php index 84d492f8f..3b0b35258 100644 --- a/Zotlabs/Module/New_channel.php +++ b/Zotlabs/Module/New_channel.php @@ -1,6 +1,8 @@ <?php namespace Zotlabs\Module; +use URLify; + require_once('include/channel.php'); require_once('include/permissions.php'); @@ -13,7 +15,6 @@ class New_channel extends \Zotlabs\Web\Controller { $cmd = ((argc() > 1) ? argv(1) : ''); if($cmd === 'autofill.json') { - require_once('library/urlify/URLify.php'); $result = array('error' => false, 'message' => ''); $n = trim($_REQUEST['name']); @@ -24,7 +25,7 @@ class New_channel extends \Zotlabs\Web\Controller { } if((! $x) || strlen($x) > 64) - $x = strtolower(\URLify::transliterate($n)); + $x = strtolower(URLify::transliterate($n)); $test = array(); @@ -46,7 +47,6 @@ class New_channel extends \Zotlabs\Web\Controller { } if($cmd === 'checkaddr.json') { - require_once('library/urlify/URLify.php'); $result = array('error' => false, 'message' => ''); $n = trim($_REQUEST['nick']); if(! $n) { @@ -60,7 +60,7 @@ class New_channel extends \Zotlabs\Web\Controller { } if((! $x) || strlen($x) > 64) - $x = strtolower(\URLify::transliterate($n)); + $x = strtolower(URLify::transliterate($n)); $test = array(); |