Skip to content

Commit

Permalink
refactor: no litteral class name
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Dec 2, 2021
1 parent e85e04b commit 2849eae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,10 @@ function plugin_formcreator_hook() {
$PLUGIN_HOOKS['redefine_menus']['formcreator'] = "plugin_formcreator_redefine_menus";

// Config page
$links = [];
if (Session::haveRight('entity', UPDATE)) {
$PLUGIN_HOOKS['menu_toadd']['formcreator']['admin'] = 'PluginFormcreatorForm';
$PLUGIN_HOOKS['menu_toadd']['formcreator']['admin'] = PluginFormcreatorForm::class;
}

}

function plugin_formcreator_registerClasses() {
Expand Down

0 comments on commit 2849eae

Please sign in to comment.