mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02: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
|
@ -14,12 +14,6 @@ function rendertime_install() {
|
|||
Hook::register('page_end', 'addon/rendertime/rendertime.php', 'rendertime_page_end');
|
||||
}
|
||||
|
||||
|
||||
function rendertime_uninstall() {
|
||||
Hook::unregister('init_1', 'addon/rendertime/rendertime.php', 'rendertime_init_1');
|
||||
Hook::unregister('page_end', 'addon/rendertime/rendertime.php', 'rendertime_page_end');
|
||||
}
|
||||
|
||||
function rendertime_init_1(&$a) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue