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
|
@ -16,16 +16,6 @@ function smileybutton_install() {
|
|||
Logger::log("installed smileybutton");
|
||||
}
|
||||
|
||||
|
||||
function smileybutton_uninstall() {
|
||||
//Delet registered hooks
|
||||
Hook::unregister('jot_tool', 'addon/smileybutton/smileybutton.php', 'show_button');
|
||||
|
||||
Logger::log("removed smileybutton");
|
||||
}
|
||||
|
||||
|
||||
|
||||
function show_button(Friendica\App $a, &$b) {
|
||||
// Disable if theme is quattro
|
||||
// TODO add style for quattro
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue