[vhffs-dev] [1154] Users are now redirected on index page when deleting a group.

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1154
Author:   beuss
Date:     2008-02-13 04:55:14 +0000 (Wed, 13 Feb 2008)

Log Message:
-----------
Users are now redirected on index page when deleting a group.

Modified Paths:
--------------
    trunk/vhffs-panel/group/delete.pl


Modified: trunk/vhffs-panel/group/delete.pl
===================================================================
--- trunk/vhffs-panel/group/delete.pl	2008-02-10 16:52:50 UTC (rev 1153)
+++ trunk/vhffs-panel/group/delete.pl	2008-02-13 04:55:14 UTC (rev 1154)
@@ -82,7 +82,8 @@
 	if( $group->commit < 0 )  {
 		$message = gettext('An error occured while updating the project');
 	}  else  {
-		$message = gettext('This group will be deleted');
+        my $url = '/panel.pl?msg='.gettext('This group will be deleted');
+        $panel->redirect($url);
 	}
 }
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/