[Rt-commit] r10580 - in rt/branches/3.999-DANGEROUS: etc lib/RT/Model
jesse at bestpractical.com
jesse at bestpractical.com
Tue Jan 29 23:04:00 EST 2008
Author: jesse
Date: Tue Jan 29 23:04:00 2008
New Revision: 10580
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/etc/config.yml
rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm
Log:
r75907 at pinglin: jesse | 2008-01-29 23:03:17 -0500
checkpoint
Modified: rt/branches/3.999-DANGEROUS/etc/config.yml
==============================================================================
--- rt/branches/3.999-DANGEROUS/etc/config.yml (original)
+++ rt/branches/3.999-DANGEROUS/etc/config.yml Tue Jan 29 23:04:00 2008
@@ -1,6 +1,6 @@
---
framework:
- AdminMode: 1
+ AdminMode: 0
ApplicationClass: RT
Applicationname: RT
ApplicationUUID: EAFC6FF2-5E8D-11DC-9FAD-91A9684ED971
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/User.pm Tue Jan 29 23:04:00 2008
@@ -1056,7 +1056,7 @@
my $default = shift;
my $attr = RT::Model::Attribute->new;
- $attr->load_by_name_and_object( Object => $self, name => $name );
+ $attr->load_by_name_and_object( object => $self, name => $name );
my $content = $attr->id ? $attr->content : undef;
unless ( ref $content eq 'HASH' ) {
@@ -1090,7 +1090,7 @@
my $name = _prefname(shift);
my $value = shift;
my $attr = RT::Model::Attribute->new;
- $attr->load_by_name_and_object( Object => $self, name => $name );
+ $attr->load_by_name_and_object( object => $self, name => $name );
if ( $attr->id ) {
return $attr->set_content($value);
} else {
More information about the Rt-commit
mailing list