From 5aa73afa7e4ffcd005d7a2ff3af8330ce1c90b15 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Thu, 24 Oct 2019 09:09:47 +0200 Subject: [PATCH] Rename module class name --- src/Module/Item/{Ignored.php => Ignore.php} | 2 +- static/routes.config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/Module/Item/{Ignored.php => Ignore.php} (98%) diff --git a/src/Module/Item/Ignored.php b/src/Module/Item/Ignore.php similarity index 98% rename from src/Module/Item/Ignored.php rename to src/Module/Item/Ignore.php index f37c5ab3a..362b6c9ba 100644 --- a/src/Module/Item/Ignored.php +++ b/src/Module/Item/Ignore.php @@ -14,7 +14,7 @@ use Friendica\Network\HTTPException; /** * Module for ignoring threads or user items */ -class Ignored extends BaseModule +class Ignore extends BaseModule { public static function rawContent() { diff --git a/static/routes.config.php b/static/routes.config.php index 32a9f12ed..cce7789cd 100644 --- a/static/routes.config.php +++ b/static/routes.config.php @@ -131,7 +131,7 @@ return [ '/hashtag' => [Module\Hashtag::class, [R::GET]], '/home' => [Module\Home::class, [R::GET]], '/help[/{doc:.+}]' => [Module\Help::class, [R::GET]], - '/ignored/{id}' => [Module\Item\Ignored::class, [R::GET]], + '/ignored/{id}' => [Module\Item\Ignore::class, [R::GET]], '/inbox[/{nickname}]' => [Module\Inbox::class, [R::GET, R::POST]], '/invite' => [Module\Invite::class, [R::GET, R::POST]],