From 0734558bea6745805471d750a3744b5d9728c1b6 Mon Sep 17 00:00:00 2001 From: Fl0Cri Date: Thu, 27 May 2021 11:31:13 +0200 Subject: [PATCH] A few code improvements --- Plugin.php | 13 +------------ plugin.yaml | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/Plugin.php b/Plugin.php index 988069a..705b28f 100644 --- a/Plugin.php +++ b/Plugin.php @@ -4,21 +4,10 @@ class Plugin extends PluginBase { - public function pluginDetails() - { - return [ - 'name' => 'Custom Google Search', - 'description' => 'Add custom google search results to your site', - 'author' => 'inetis', - 'icon' => 'icon-search' - ]; - } - public function registerComponents() { return [ - '\Inetis\GoogleCustomSearch\Components\SearchResults' => 'searchResults' - + Components\SearchResults::class => 'searchResults', ]; } } diff --git a/plugin.yaml b/plugin.yaml index 22fbe68..9e49aff 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -3,4 +3,4 @@ plugin: description: 'inetis.googlecustomsearch::lang.plugin.description' author: inetis icon: oc-icon-search - homepage: 'https:://inetis.ch' + homepage: 'https://inetis.ch'