[Rt-commit] rt branch, 4.0/add-with-disabled-column, updated. rt-4.0.8-348-g8be0c07
Todd Wade
todd at bestpractical.com
Tue Jan 8 16:39:32 EST 2013
The branch, 4.0/add-with-disabled-column has been updated
via 8be0c07ca6d937eee752ce78c2c47b552d848abc (commit)
from 0d3ccb908b4256ba43535074e27705dd5debf4aa (commit)
Summary of changes:
lib/RT/CachedGroupMembers.pm | 6 ++++++
lib/RT/Classes.pm | 6 +++---
lib/RT/ObjectCustomFieldValues.pm | 2 ++
lib/RT/Principals.pm | 1 +
4 files changed, 12 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 8be0c07ca6d937eee752ce78c2c47b552d848abc
Author: Todd Wade <todd at bestpractical.com>
Date: Tue Jan 8 16:21:56 2013 -0500
add flag to all "Disabled"able classes
add flag to all "Disabled"able classes, even the ones that aren't currenty
directly accessed (i.e. through joins).
lib/RT/Classes.pm
* use four space indent
diff --git a/lib/RT/CachedGroupMembers.pm b/lib/RT/CachedGroupMembers.pm
index f76fc5d..8b92348 100644
--- a/lib/RT/CachedGroupMembers.pm
+++ b/lib/RT/CachedGroupMembers.pm
@@ -76,6 +76,12 @@ use base 'RT::SearchBuilder';
sub Table { 'CachedGroupMembers'}
+sub _Init {
+ my $self = shift;
+ $self->{'with_disabled_column'} = 1;
+ return ($self->SUPER::_Init(@_));
+}
+
# {{{ LimitToUsers
=head2 LimitToUsers
diff --git a/lib/RT/Classes.pm b/lib/RT/Classes.pm
index 6d53ea2..a46879f 100644
--- a/lib/RT/Classes.pm
+++ b/lib/RT/Classes.pm
@@ -55,9 +55,9 @@ use base 'RT::SearchBuilder';
sub Table {'Classes'}
sub _Init {
- my $self = shift;
- $self->{'with_disabled_column'} = 1;
- return ($self->SUPER::_Init(@_));
+ my $self = shift;
+ $self->{'with_disabled_column'} = 1;
+ return ($self->SUPER::_Init(@_));
}
=head2 Next
diff --git a/lib/RT/ObjectCustomFieldValues.pm b/lib/RT/ObjectCustomFieldValues.pm
index df22b65..4b2fa65 100644
--- a/lib/RT/ObjectCustomFieldValues.pm
+++ b/lib/RT/ObjectCustomFieldValues.pm
@@ -71,6 +71,8 @@ sub _Init {
ORDER => 'ASC' },
);
+ $self->{'with_disabled_column'} = 1;
+
return ( $self->SUPER::_Init(@_) );
}
diff --git a/lib/RT/Principals.pm b/lib/RT/Principals.pm
index 69e49ef..a7d7af0 100644
--- a/lib/RT/Principals.pm
+++ b/lib/RT/Principals.pm
@@ -78,6 +78,7 @@ sub Table { 'Principals'}
sub _Init {
my $self = shift;
+ $self->{'with_disabled_column'} = 1;
return ( $self->SUPER::_Init(@_) );
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list