mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 18:38:49 +00:00
[various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
This commit is contained in:
parent
aa25a9d762
commit
203672cf27
77 changed files with 229 additions and 887 deletions
|
@ -27,12 +27,6 @@ function qcomment_install() {
|
|||
|
||||
}
|
||||
|
||||
function qcomment_uninstall() {
|
||||
Hook::unregister('addon_settings', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings');
|
||||
Hook::unregister('addon_settings_post', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings_post');
|
||||
|
||||
}
|
||||
|
||||
function qcomment_addon_settings(&$a, &$s)
|
||||
{
|
||||
if (! local_user()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue