mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:50:11 +00:00
The notice and info have been moved
This commit is contained in:
parent
20291ddc2b
commit
fdfa1f8630
73 changed files with 273 additions and 284 deletions
|
@ -149,7 +149,7 @@ class Index extends BaseSearch
|
|||
// Tags don't look like an URL and the fulltext search does only work with natural words
|
||||
if (parse_url($search, PHP_URL_SCHEME) && parse_url($search, PHP_URL_HOST)) {
|
||||
Logger::info('Skipping tag and fulltext search since the search looks like a URL.', ['q' => $search]);
|
||||
notice(DI::l10n()->t('No results.'));
|
||||
DI::sysmsg()->addNotice(DI::l10n()->t('No results.'));
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
@ -191,7 +191,7 @@ class Index extends BaseSearch
|
|||
|
||||
if (empty($items)) {
|
||||
if (empty($last_uriid)) {
|
||||
notice(DI::l10n()->t('No results.'));
|
||||
DI::sysmsg()->addNotice(DI::l10n()->t('No results.'));
|
||||
}
|
||||
return $o;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue