mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/16019] Get rid of the uninstall link
PHPBB3-16019
This commit is contained in:
parent
6cc16af75f
commit
aec25f24ae
1 changed files with 8 additions and 5 deletions
|
@ -1014,11 +1014,14 @@ class acp_styles
|
||||||
'L_ACTION' => $this->user->lang['EXPORT']
|
'L_ACTION' => $this->user->lang['EXPORT']
|
||||||
); */
|
); */
|
||||||
|
|
||||||
// Uninstall
|
if ($style['style_name'] !== 'prosilver')
|
||||||
$actions[] = array(
|
{
|
||||||
'U_ACTION' => $this->u_action . '&action=uninstall&hash=' . generate_link_hash('uninstall') . '&id=' . $style['style_id'],
|
// Uninstall
|
||||||
'L_ACTION' => $this->user->lang['STYLE_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
|
// Preview
|
||||||
$actions[] = array(
|
$actions[] = array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue