related to #1530 status verification for extention updates

This commit is contained in:
Matthieu Leproux
2021-10-21 14:08:27 +02:00
parent 35490ab89a
commit 967cbe5e2a
5 changed files with 22 additions and 10 deletions
+2 -1
View File
@@ -254,7 +254,8 @@ $template->set_filenames(array('maintenance'=>'maintenance_actions.tpl'));
$pwg_token = get_pwg_token();
$url_format = get_root_url().'admin.php?page=maintenance&action=%s&pwg_token='.get_pwg_token();
if (!is_webmaster()) {
if (!is_webmaster())
{
$page['warnings'][] = l10n('Webmaster status is required.');
}