Disable hooks of uninstalled plugins
Updated by Tomas Rodrigues almost 5 years ago
- File hooks 1.jpg added
- File hooks 2.jpg added
- File hooks 3.jpg added
I created a folder in: main / inc / lib / hook and inside it put the HookManagement.php file.
Hoping to correct this problem of image.
I understand that this patch was for.
It did not work for me.
Chamilo beta 1.9.10.
ps:where it is recorded in the database in order to exclude the hook manually.
Updated by Angel Quiroz almost 5 years ago
The hooks are a system to make actions when a plugin is installed on version 1.10.x
Really, your problem is with the Ticket plugin, this adds a new tab on the menu bar when is installed regardless its own configuration.
You can report a new bug about this plugin
Updated by Yannick Warnier almost 5 years ago
- Status changed from Needs testing to Bug resolved
- Assignee set to Angel Quiroz
- % Done changed from 80 to 100
All hooks register their data in hook_* table (which only exist in the 1.10.x branch).
All plugins register their settings in settings_current.
Hooks only exist in 1.10.x, so they will not work in 1.9.10.
In your pictures, the issue is with the ticket plugin, NOT with hooks, so you only need to search "SELECT id, variable FROM settings_current WHERE variable LIKE '%ticket%' and delete all of it.
In the meantime, I'm closing this issue (related to hooks).