Bug #7546
Disable hooks of uninstalled plugins
Associated revisions
History
Updated by Angel Quiroz about 6 years ago
- Status changed from New to Needs testing
- Assignee deleted (
Angel Quiroz) - % Done changed from 0 to 80
Updated by Tomas Rodrigues about 6 years ago
- File hooks 1.jpg added
- File hooks 2.jpg added
- File hooks 3.jpg added
Hello,
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.
greetings;
Marcelo Bassuma
ps:where it is recorded in the database in order to exclude the hook manually.
Updated by Angel Quiroz almost 6 years ago
Hello
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 Tomas Rodrigues almost 6 years ago
Hi,
Thank you for taking my question and the tip to open a new ticket.
Regards,
Marcelo Bassuma
Updated by Yannick Warnier almost 6 years ago
- Status changed from Needs testing to Bug resolved
- Assignee set to Angel Quiroz
- % Done changed from 80 to 100
Hi Marcelo,
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).
Updated by Tomas Rodrigues almost 6 years ago
Hello,
Yannick Warnier.
Thanks for the reply.
You're right.
I will try to look for what you said and delete.
Sincerely Yours;
Marcelo Bassuma
ps: the version 1.9.10.2 this a rocket.
congratulations.
Disable hooks of uninstalled plugins - refs #7546