[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
|
@ -16,11 +16,6 @@ function membersince_install()
|
|||
Hook::register('profile_advanced', 'addon/membersince/membersince.php', 'membersince_display');
|
||||
}
|
||||
|
||||
function membersince_uninstall()
|
||||
{
|
||||
Hook::unregister('profile_advanced', 'addon/membersince/membersince.php', 'membersince_display');
|
||||
}
|
||||
|
||||
function membersince_display(Friendica\App $a, &$b)
|
||||
{
|
||||
if ($a->getCurrentTheme() == 'frio') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue