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 /include | |
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 'include')
-rw-r--r-- | include/import.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/import.php b/include/import.php index b0a1a77e5..8707a9430 100644 --- a/include/import.php +++ b/include/import.php @@ -1719,8 +1719,7 @@ function import_webpage_element($element, $channel, $type) { $namespace = 'WEBPAGE'; $name = $element['pagelink']; if($name) { - require_once('library/urlify/URLify.php'); - $name = strtolower(\URLify::transliterate($name)); + $name = strtolower(URLify::transliterate($name)); } $arr['title'] = $element['title']; $arr['term'] = $element['term']; |