From 77f4535932e2cce9836aa2e509246207ab0684ab Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Fri, 22 Oct 2021 15:39:27 +0200 Subject: [PATCH] related to #1530 removed status verification for Sync page --- admin/site_update.php | 11 ----------- admin/themes/default/template/site_update.tpl | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/admin/site_update.php b/admin/site_update.php index 6bc819cbd..e4098e561 100644 --- a/admin/site_update.php +++ b/admin/site_update.php @@ -72,11 +72,6 @@ if (isset($page['no_md5sum_number'])) $page['messages'][] = ''.l10n('Some checksums are missing.').''; } -if (!is_webmaster()) -{ - $page['warnings'][] = l10n('Webmaster status is required.'); -} - // +-----------------------------------------------------------------------+ // | tabs | // +-----------------------------------------------------------------------+ @@ -111,10 +106,6 @@ $general_failure = true; if (isset($_POST['submit'])) { - if (!is_webmaster()) { - redirect(get_root_url().'admin.php?page=site_update&site='.$_GET['site']); - } - if ($site_reader->open()) { $general_failure = false; @@ -968,8 +959,6 @@ $template->assign( 'U_HELP' => get_root_url().'admin/popuphelp.php?page=synchronize', )); -$template->assign('isWebmaster', is_webmaster()); - // +-----------------------------------------------------------------------+ // | introduction : choices | // +-----------------------------------------------------------------------+ diff --git a/admin/themes/default/template/site_update.tpl b/admin/themes/default/template/site_update.tpl index c6d5bff97..0cfb0ed67 100644 --- a/admin/themes/default/template/site_update.tpl +++ b/admin/themes/default/template/site_update.tpl @@ -118,7 +118,7 @@ $('#syncFiles label').click(function () {

- +

{/if}{*isset $introduction*}