From 8e782993834d4985cd69a103ede0b34f168125ce Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 23 Sep 2012 21:13:24 +0200 Subject: Users cannot delete mailbox and lists. --- lib/Fripost/Panel/Interface.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Fripost/Panel') 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; } -- cgit v1.2.3