mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-01-27 22:38:28 +00:00
Use namespaced SearchHelper class
This commit is contained in:
parent
6749120fbf
commit
368afbac98
@ -14,6 +14,7 @@ use Joomla\CMS\Application\CMSApplicationInterface;
|
||||
use Joomla\CMS\Language\Multilanguage;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Plugin\CMSPlugin;
|
||||
use Joomla\Component\Search\Administrator\Helper\SearchHelper;
|
||||
use Joomla\Component\Weblinks\Site\Helper\RouteHelper;
|
||||
use Joomla\Database\DatabaseAwareTrait;
|
||||
use Joomla\Database\DatabaseInterface;
|
||||
@ -228,7 +229,7 @@ final class Weblinks extends CMSPlugin
|
||||
}
|
||||
|
||||
foreach ($rows as $weblink) {
|
||||
if (\searchHelper::checkNoHTML($weblink, $searchText, ['url', 'text', 'title'])) {
|
||||
if (SearchHelper::checkNoHTML($weblink, $searchText, ['url', 'text', 'title'])) {
|
||||
$return[] = $weblink;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user