X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=notimeline%2Fnotimeline.php;h=b99501c3a3b3876f7fb9f11ab86e57828ccb9fd0;hb=76ecff195f99c428d437de826c05034e5b53fd1f;hp=a0765b962598ba3ceea71e9309904b8f58ab36dd;hpb=c67ad31c8bf3749ac21bc62116ecb21c52daa544;p=friendica-addons.git diff --git a/notimeline/notimeline.php b/notimeline/notimeline.php index a0765b96..b99501c3 100644 --- a/notimeline/notimeline.php +++ b/notimeline/notimeline.php @@ -16,12 +16,6 @@ function notimeline_install() Hook::register('addon_settings_post', 'addon/notimeline/notimeline.php', 'notimeline_settings_post'); } -function notimeline_uninstall() -{ - Hook::unregister('addon_settings', 'addon/notimeline/notimeline.php', 'notimeline_settings'); - Hook::unregister('addon_settings_post', 'addon/notimeline/notimeline.php', 'notimeline_settings_post'); -} - function notimeline_settings_post($a, $post) { if (!local_user() || empty($_POST['notimeline-submit'])) { @@ -29,7 +23,6 @@ function notimeline_settings_post($a, $post) } DI::pConfig()->set(local_user(), 'system', 'no_wall_archive_widget', intval($_POST['notimeline'])); - info(DI::l10n()->t('No Timeline settings updated.') . EOL); } function notimeline_settings(&$a, &$s)