From f4f16af8ac6c2bb1d5561bd85b4908fd3f9e1dbb Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 12 Oct 2010 15:49:20 -0700 Subject: Add a basic group deletion for moderator users. --- lib/router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/router.php') diff --git a/lib/router.php b/lib/router.php index 00b299373..b1cc8d529 100644 --- a/lib/router.php +++ b/lib/router.php @@ -276,7 +276,7 @@ class Router $m->connect('group/new', array('action' => 'newgroup')); - foreach (array('edit', 'join', 'leave') as $v) { + foreach (array('edit', 'join', 'leave', 'delete') as $v) { $m->connect('group/:nickname/'.$v, array('action' => $v.'group'), array('nickname' => '[a-zA-Z0-9]+')); -- cgit v1.2.3-54-g00ecf