[open-ils-commits] r17585 - trunk/Open-ILS/src/perlmods/OpenILS/Utils (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Sep 10 15:07:50 EDT 2010


Author: dbs
Date: 2010-09-10 15:07:45 -0400 (Fri, 10 Sep 2010)
New Revision: 17585

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Utils/OfflineStore.pm
Log:
'use parent' consistently throughout OfflineStore.pm

If we're going to use "use parent" instead of "use base" when creating
the child instance of Class::DBI 3.01 that is OpenILS::Utils::OfflineStore,
we might as well be consistent when declaring its own children.


Modified: trunk/Open-ILS/src/perlmods/OpenILS/Utils/OfflineStore.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Utils/OfflineStore.pm	2010-09-10 18:41:16 UTC (rev 17584)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Utils/OfflineStore.pm	2010-09-10 19:07:45 UTC (rev 17585)
@@ -49,7 +49,7 @@
 
 
 package OpenILS::Utils::OfflineStore::Session;
-use base 'OpenILS::Utils::OfflineStore';
+use parent 'OpenILS::Utils::OfflineStore';
 
 sub _create_table {
 	my $self = shift;
@@ -80,7 +80,7 @@
 
 
 package OpenILS::Utils::OfflineStore::Script;
-use base 'OpenILS::Utils::OfflineStore';
+use parent 'OpenILS::Utils::OfflineStore';
 
 sub _create_table {
 	my $self = shift;



More information about the open-ils-commits mailing list