mirror of
https://github.com/friendica/friendica
synced 2025-05-07 19:04:10 +02:00
Rename BaseSearchModule::performSearch to performContactSearch to remove purpose confusion
This commit is contained in:
parent
2056e6a5c4
commit
ec7eb9d83a
3 changed files with 6 additions and 6 deletions
|
@ -88,7 +88,7 @@ class Index extends BaseSearchModule
|
|||
}
|
||||
|
||||
if (strpos($search, '@') === 0 || strpos($search, '!') === 0) {
|
||||
return self::performSearch($search);
|
||||
return self::performContactSearch($search);
|
||||
}
|
||||
|
||||
if (parse_url($search, PHP_URL_SCHEME) != '') {
|
||||
|
@ -109,9 +109,9 @@ class Index extends BaseSearchModule
|
|||
$tag = true;
|
||||
break;
|
||||
case 'contacts':
|
||||
return self::performSearch($search, '@');
|
||||
return self::performContactSearch($search, '@');
|
||||
case 'forums':
|
||||
return self::performSearch($search, '!');
|
||||
return self::performContactSearch($search, '!');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue