[ticket/16019] Get rid of the uninstall link

PHPBB3-16019
This commit is contained in:
3D-I 2019-08-13 06:07:54 +02:00
parent 6cc16af75f
commit aec25f24ae

View file

@ -1014,11 +1014,14 @@ class acp_styles
'L_ACTION' => $this->user->lang['EXPORT'] 'L_ACTION' => $this->user->lang['EXPORT']
); */ ); */
if ($style['style_name'] !== 'prosilver')
{
// Uninstall // Uninstall
$actions[] = array( $actions[] = array(
'U_ACTION' => $this->u_action . '&action=uninstall&hash=' . generate_link_hash('uninstall') . '&id=' . $style['style_id'], 'U_ACTION' => $this->u_action . '&action=uninstall&hash=' . generate_link_hash('uninstall') . '&id=' . $style['style_id'],
'L_ACTION' => $this->user->lang['STYLE_UNINSTALL'] 'L_ACTION' => $this->user->lang['STYLE_UNINSTALL']
); );
}
// Preview // Preview
$actions[] = array( $actions[] = array(