[Rt-commit] r7229 - rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Tue Mar 13 09:27:58 EDT 2007
Author: ruz
Date: Tue Mar 13 09:27:57 2007
New Revision: 7229
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm
Log:
* insert_acl -> InsertACL
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm Tue Mar 13 09:27:57 2007
@@ -289,16 +289,16 @@
$x =~ /^y/i;
}
-=head2 insert_acl
+=head2 InsertACL
=cut
-sub insert_acl {
- my $self = shift;
- my $dbh = shift || $self->dbh;
- my $base_path = (shift || $RT::EtcPath);
- my $db_type = RT->Config->Get('DatabaseType');
+sub InsertACL {
+ my $self = shift;
+ my $dbh = shift || $self->dbh;
+ my $base_path = shift || $RT::EtcPath;
+ my $db_type = RT->Config->Get('DatabaseType');
return if $db_type eq 'SQLite';
die "'$base_path' doesn't exist" unless -e $base_path;
More information about the Rt-commit
mailing list