mirror of
https://github.com/friendica/friendica
synced 2025-04-21 17:50:11 +00:00
Added parameters
This commit is contained in:
parent
abe6724629
commit
bd62d548db
84 changed files with 172 additions and 177 deletions
|
@ -13,7 +13,7 @@ use Friendica\Util\Strings;
|
|||
*/
|
||||
class Directory extends BaseSearchModule
|
||||
{
|
||||
public static function content()
|
||||
public static function content($parameters)
|
||||
{
|
||||
if (!local_user()) {
|
||||
notice(L10n::t('Permission denied.'));
|
||||
|
|
|
@ -23,7 +23,7 @@ use Friendica\Util\Strings;
|
|||
|
||||
class Index extends BaseSearchModule
|
||||
{
|
||||
public static function content()
|
||||
public static function content($parameters)
|
||||
{
|
||||
$search = (!empty($_GET['q']) ? Strings::escapeTags(trim(rawurldecode($_GET['q']))) : '');
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ use Friendica\Util\Strings;
|
|||
|
||||
class Saved extends BaseModule
|
||||
{
|
||||
public static function init()
|
||||
public static function init($parameters)
|
||||
{
|
||||
/** @var Arguments $args */
|
||||
$args = self::getClass(Arguments::class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue