aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-15 15:43:55 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-15 15:43:55 +0200
commit3588c4ab996f462f11cd89255e6d511441ed0315 (patch)
tree363da22b34c45669ad520440175a326c9bbeb7b7
parent782ec06f2b022a77b6fc2c90a62186e5de7affe1 (diff)
downloadvolse-hubzilla-3588c4ab996f462f11cd89255e6d511441ed0315.tar.gz
volse-hubzilla-3588c4ab996f462f11cd89255e6d511441ed0315.tar.bz2
volse-hubzilla-3588c4ab996f462f11cd89255e6d511441ed0315.zip
allow to undelete deleted base apps
-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),