[Rt-commit] r18754 - rt/3.999/trunk/lib/RT/Model

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Mar 10 02:29:10 EDT 2009


Author: sunnavy
Date: Tue Mar 10 02:29:10 2009
New Revision: 18754

Modified:
   rt/3.999/trunk/lib/RT/Model/Queue.pm

Log:
revert auto creating role groups for a queue: the idea is to create role groups on demand

Modified: rt/3.999/trunk/lib/RT/Model/Queue.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Model/Queue.pm	(original)
+++ rt/3.999/trunk/lib/RT/Model/Queue.pm	Tue Mar 10 02:29:10 2009
@@ -253,11 +253,6 @@
         return ( 0, _('Queue could not be created') );
     }
 
-    # create role groups
-    foreach my $type ( 'owner', $self->roles ) {
-        $self->create_role_group($type);
-    }
-
     Jifty->handle->commit;
 
     if ( defined $sign ) {


More information about the Rt-commit mailing list