[open-ils-commits] r8575 -
trunk/Open-ILS/src/perlmods/OpenILS/Application
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Feb 1 15:47:40 EST 2008
Author: erickson
Date: 2008-02-01 15:19:52 -0500 (Fri, 01 Feb 2008)
New Revision: 8575
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
Log:
removed cstoreditor :funcs import, was causing circular import problems when apputils was imported by cstoreeditor.
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm 2008-02-01 20:12:54 UTC (rev 8574)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm 2008-02-01 20:19:52 UTC (rev 8575)
@@ -9,7 +9,7 @@
use OpenSRF::EX qw(:try);
use OpenILS::Event;
use Data::Dumper;
-use OpenILS::Utils::CStoreEditor qw/:funcs/;
+use OpenILS::Utils::CStoreEditor;
use OpenILS::Const qw/:const/;
# ---------------------------------------------------------------------------
@@ -64,7 +64,7 @@
for my $type (@perm_types) {
$PERM_QUERY->{select}->{au}->[0]->{params} = [$type, $org_id];
$PERM_QUERY->{where}->{id} = $user_id;
- return $type unless $self->is_true(new_editor()->json_query($PERM_QUERY)->[0]->{has_perm});
+ return $type unless $self->is_true(OpenILS::Utils::CStoreEditor->new->json_query($PERM_QUERY)->[0]->{has_perm});
}
return undef;
}
More information about the open-ils-commits
mailing list