[freeside-commits] freeside/rt/lib/RT Handle.pm,1.2,1.3

Ivan,,, ivan at wavetail.420.am
Sun Feb 19 14:42:07 PST 2012


Update of /home/cvs/cvsroot/freeside/rt/lib/RT
In directory wavetail.420.am:/tmp/cvs-serv16958/lib/RT

Modified Files:
	Handle.pm 
Log Message:
fix ancient vendor branch CVS bs

Index: Handle.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/lib/RT/Handle.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- Handle.pm	15 Jul 2003 13:30:34 -0000	1.2
+++ Handle.pm	19 Feb 2012 22:42:05 -0000	1.3
@@ -1,8 +1,14 @@
-# BEGIN LICENSE BLOCK
+# BEGIN BPS TAGGED BLOCK {{{
 # 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse at bestpractical.com>
+# COPYRIGHT:
 # 
-# (Except where explictly superceded by other copyright notices)
+# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+#                                          <sales at bestpractical.com>
+#
+# (Except where explicitly superseded by other copyright notices)
[...1090 lines suppressed...]
+    my $id = shift;
+
+    my $cu = $RT::SystemUser;
+    unless ( $cu ) {
+        require RT::CurrentUser;
+        $cu = new RT::CurrentUser;
+        $cu->LoadByName('RT_System');
+        warn "Couldn't load RT_System user" unless $cu->id;
+    }
+
+    my $equiv_group = RT::Group->new( $cu );
+    $equiv_group->LoadACLEquivalenceGroup( $id );
+    return $equiv_group->Id;
+}
+
+__PACKAGE__->FinalizeDatabaseType;
+
+RT::Base->_ImportOverlays();
 
 1;



More information about the freeside-commits mailing list