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.
This commit is contained in:
google-labs-jules[bot]
2025-05-31 12:59:45 +00:00
parent 80167ce471
commit 7943009051

View File

@ -76,7 +76,7 @@ function plugin_init_soc() {
// Register plugin classes // Register plugin classes
Plugin::registerClass('PluginSocCase'); Plugin::registerClass('PluginSocCase');
Plugin::registerClass('PluginSocProfile', ['classname' => 'PluginSocProfile']); Plugin::registerClass('PluginSocProfile');
// Add menu items // Add menu items
if (Session::haveRight('plugin_soc_case', READ)) { if (Session::haveRight('plugin_soc_case', READ)) {