mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-20 08:33:03 +02:00
fixes #93 automatically hide the newsletter link when clicked
This commit is contained in:
@@ -25,6 +25,12 @@ check_status(ACCESS_ADMINISTRATOR);
|
||||
// | tabs |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
if (isset($_GET['action']) and 'hide_newsletter_subscription' == $_GET['action'])
|
||||
{
|
||||
conf_update_param('show_newsletter_subscription', 'false', true);
|
||||
exit();
|
||||
}
|
||||
|
||||
include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
|
||||
|
||||
$my_base_url = get_root_url().'admin.php?page=';
|
||||
|
||||
Reference in New Issue
Block a user