aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Fripost/Panel
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-23 21:13:24 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-23 21:13:24 +0200
commit8e782993834d4985cd69a103ede0b34f168125ce (patch)
tree8e9d4b3ef2778752998fe6eaed741c4b34b8de4b /lib/Fripost/Panel
parent06a4de26e05b74e3ed5493cef205af91462678a1 (diff)
Users cannot delete mailbox and lists.
Diffstat (limited to 'lib/Fripost/Panel')
-rw-r--r--lib/Fripost/Panel/Interface.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Fripost/Panel/Interface.pm b/lib/Fripost/Panel/Interface.pm
index e253ca0..7b172af 100644
--- a/lib/Fripost/Panel/Interface.pm
+++ b/lib/Fripost/Panel/Interface.pm
@@ -337,7 +337,7 @@ sub EditLocal : Runmode {
(defined $q->param('a') and $q->param('a') eq 'delete'));
$template->param( newChanges => $news );
$template->param( error => encode_entities ($error, "‘‘") ) if $error;
- $template->param( canDelete => 1 ); # TODO
+ $template->param( canDelete => 1 ) if $t eq 'alias'; # TODO
$q->delete('a');
return $template->output;
}