aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-15 13:43:55 +0000
committerMario <mario@mariovavti.com>2018-10-15 15:45:51 +0200
commitfa5537bfc0fe0919da118888208140a10d54c5b6 (patch)
treee40d435beff4331c43f577c4ae211cebb73306dc
parent5a9b1f769dea884420c480d2bff39226854132cd (diff)
downloadvolse-hubzilla-fa5537bfc0fe0919da118888208140a10d54c5b6.tar.gz
volse-hubzilla-fa5537bfc0fe0919da118888208140a10d54c5b6.tar.bz2
volse-hubzilla-fa5537bfc0fe0919da118888208140a10d54c5b6.zip
allow to undelete deleted base apps
(cherry picked from commit 3588c4ab996f462f11cd89255e6d511441ed0315)
-rw-r--r--Zotlabs/Lib/Apps.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php
index e6757497a..b13658be2 100644
--- a/Zotlabs/Lib/Apps.php
+++ b/Zotlabs/Lib/Apps.php
@@ -532,8 +532,8 @@ class Apps {
'$installed' => $installed,
'$action_label' => (($hosturl && in_array($mode, ['view','install'])) ? $install_action : ''),
'$edit' => ((local_channel() && $installed && $mode == 'edit') ? t('Edit') : ''),
- '$delete' => ((local_channel() && $installed && $mode == 'edit') ? t('Delete') : ''),
- '$undelete' => ((local_channel() && $installed && $mode == 'edit') ? t('Undelete') : ''),
+ '$delete' => ((local_channel() && $mode == 'edit') ? t('Delete') : ''),
+ '$undelete' => ((local_channel() && $mode == 'edit') ? t('Undelete') : ''),
'$settings_url' => ((local_channel() && $installed && $mode == 'list') ? $papp['settings_url'] : ''),
'$deleted' => $papp['deleted'],
'$feature' => (($papp['embed'] || $mode == 'edit') ? false : true),