[various] Remove redundant uninstall functions

- All hooks (current and obsolete) are removed automatically during addon uninstall
This commit is contained in:
Hypolite Petovan 2020-07-27 08:30:41 -04:00
parent aa25a9d762
commit 203672cf27
77 changed files with 229 additions and 887 deletions

View file

@ -15,11 +15,6 @@ function webrtc_install() {
Hook::register('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu');
}
function webrtc_uninstall() {
Hook::unregister('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu');
}
function webrtc_app_menu($a,&$b) {
$b['app_menu'][] = '<div class="app-title"><a href="webrtc">' . DI::l10n()->t('WebRTC Videochat') . '</a></div>';
}