given that I've been developing for a while this module, and there are hooks that are no longer relevant and weren't removed properly at the time, I'd like to clean up the hooks registry manually.
Given that I have this
How would I remove that? I keep getting this error
Thanks.
Given that I have this
Code:
[[email protected] ~]# /usr/local/cpanel/bin/manage_hooks list
Whostmgr:
Accounts::change_package:
id: Gu0sr_inAsLJuErsvlZh8HFi
exectype: script
weight: 100
hook: /usr/local/cpanel/whostmgr/docroot/cgi/MyApp/Model/Hook/hooks.php --changePackage
stage: post
escalateprivs: 0
--
Code:
[[email protected] ~]# /usr/local/cpanel/bin/manage_hooks delete --manual hook /usr/local/cpanel/whostmgr/docroot/cgi/MyApp/Model/Hook/hooks.php --category Whostmgr --event 'Accounts::change_package' --stage post
No matching hooks found
Thanks.