diff options
author | 3D-I <eataly3d@gmail.com> | 2019-08-13 06:07:54 +0200 |
---|---|---|
committer | 3D-I <eataly3d@gmail.com> | 2019-08-13 06:08:25 +0200 |
commit | aec25f24ae3cffadd91f7b1542ce632c27030e29 (patch) | |
tree | cb08e9884e2a1e348655e38ddd6af5ec199f5376 | |
parent | 6cc16af75f007745454ab658ba29c366aab86150 (diff) | |
download | forums-aec25f24ae3cffadd91f7b1542ce632c27030e29.tar forums-aec25f24ae3cffadd91f7b1542ce632c27030e29.tar.gz forums-aec25f24ae3cffadd91f7b1542ce632c27030e29.tar.bz2 forums-aec25f24ae3cffadd91f7b1542ce632c27030e29.tar.xz forums-aec25f24ae3cffadd91f7b1542ce632c27030e29.zip |
[ticket/16019] Get rid of the uninstall link
PHPBB3-16019
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index 88878a9ce7..19d3add43e 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -1014,11 +1014,14 @@ class acp_styles 'L_ACTION' => $this->user->lang['EXPORT'] ); */ - // Uninstall - $actions[] = array( - 'U_ACTION' => $this->u_action . '&action=uninstall&hash=' . generate_link_hash('uninstall') . '&id=' . $style['style_id'], - 'L_ACTION' => $this->user->lang['STYLE_UNINSTALL'] - ); + if ($style['style_name'] !== 'prosilver') + { + // Uninstall + $actions[] = array( + 'U_ACTION' => $this->u_action . '&action=uninstall&hash=' . generate_link_hash('uninstall') . '&id=' . $style['style_id'], + 'L_ACTION' => $this->user->lang['STYLE_UNINSTALL'] + ); + } // Preview $actions[] = array( |