From 7943009051b45fb89ac63f2e33da2e478a6b80a1 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 31 May 2025 12:59:45 +0000 Subject: [PATCH] Fix: Remove unknown 'classname' attribute in PluginSocProfile registration The 'classname' attribute was causing a warning during plugin installation as it's not a recognized option in the Plugin::registerClass method for this type of class. This commit removes the unnecessary attribute, relying on the standard behavior where the class name is inferred from the first argument. --- setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.php b/setup.php index 042807f..04c84a3 100644 --- a/setup.php +++ b/setup.php @@ -76,7 +76,7 @@ function plugin_init_soc() { // Register plugin classes Plugin::registerClass('PluginSocCase'); - Plugin::registerClass('PluginSocProfile', ['classname' => 'PluginSocProfile']); + Plugin::registerClass('PluginSocProfile'); // Add menu items if (Session::haveRight('plugin_soc_case', READ)) {