[Rt-devel] BUG in 3.6 (and 3.4) $self->crit should be
$RT::Logger->crit
Todd Chapman
todd at chaka.net
Wed Jul 19 14:24:41 EDT 2006
In lib/RT/Group_Overlay.pm $self->crit should be $RT::Logger->crit
Patch is attached.
-Todd
-------------- next part --------------
--- lib/RT/Group_Overlay.pm (revision 7155)
+++ lib/RT/Group_Overlay.pm (local)
@@ -497,7 +497,7 @@
# If we couldn't create a principal Id, get the fuck out.
unless ($principal_id) {
$RT::Handle->Rollback() unless ($args{'InsideTransaction'});
- $self->crit( "Couldn't create a Principal on new user create. Strange things are afoot at the circle K" );
+ $RT::Logger->crit( "Couldn't create a Principal on new user create. Strange things are afoot at the circle K" );
return ( 0, $self->loc('Could not create group') );
}
=== lib/RT/Group_Overlay.pm
==================================================================
More information about the Rt-devel
mailing list