From: dbs Date: Fri, 10 Sep 2010 19:07:45 +0000 (+0000) Subject: 'use parent' consistently throughout OfflineStore.pm X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b6cca87695c2162988f0b8239391d1c8c0d012c3;p=evergreen%2Fjoelewis.git '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. git-svn-id: svn://svn.open-ils.org/ILS/trunk@17585 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Utils/OfflineStore.pm b/Open-ILS/src/perlmods/OpenILS/Utils/OfflineStore.pm index ec8448acdf..5bf0141cdb 100644 --- a/Open-ILS/src/perlmods/OpenILS/Utils/OfflineStore.pm +++ b/Open-ILS/src/perlmods/OpenILS/Utils/OfflineStore.pm @@ -49,7 +49,7 @@ sub disconnect { 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__->has_many(scripts => 'OpenILS::Utils::OfflineStore::Script'); package OpenILS::Utils::OfflineStore::Script; -use base 'OpenILS::Utils::OfflineStore'; +use parent 'OpenILS::Utils::OfflineStore'; sub _create_table { my $self = shift;