From 0230dd04df677509bff15ed1e22f5670be6387dd Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Wed, 5 Aug 2020 20:48:13 +0000 Subject: [PATCH] [PLUGIN] Remove Test plugin --- plugins/Test/Controller/TestController.php | 15 --------- plugins/Test/Test.php | 37 ---------------------- plugins/Test/manifest.yaml | 15 --------- 3 files changed, 67 deletions(-) delete mode 100644 plugins/Test/Controller/TestController.php delete mode 100644 plugins/Test/Test.php delete mode 100644 plugins/Test/manifest.yaml diff --git a/plugins/Test/Controller/TestController.php b/plugins/Test/Controller/TestController.php deleted file mode 100644 index 44ed398e88..0000000000 --- a/plugins/Test/Controller/TestController.php +++ /dev/null @@ -1,15 +0,0 @@ - Test controller '); - } -} diff --git a/plugins/Test/Test.php b/plugins/Test/Test.php deleted file mode 100644 index b0350cc2e9..0000000000 --- a/plugins/Test/Test.php +++ /dev/null @@ -1,37 +0,0 @@ -. -// }}} - -namespace Plugin\Test; - -use App\Core\Module; -use App\Core\Router\RouteLoader; -use Plugin\Test\Controller\TestController; - -class Test extends Module -{ - public function onTest(string $foo) - { - var_dump('Event handled: ' . $foo); - } - - public function onAddRoute(RouteLoader $r) - { - $r->connect('test_foo', '/foo', TestController::class); - } -} diff --git a/plugins/Test/manifest.yaml b/plugins/Test/manifest.yaml deleted file mode 100644 index 164690bfac..0000000000 --- a/plugins/Test/manifest.yaml +++ /dev/null @@ -1,15 +0,0 @@ -info: - name: 'Example' - version: '0.1' - author: 'Hugo Sales' - homepage: '{project_url}' - description: | - Test plugin - Description can use multiple lines - -permissions: - database: - - 'table1': 'r' - - 'table2': 'rw' - filesystem: - - 'folder': 'rw'