Bug 15548: Move new patron related code to Patron*
[koha.git] / about.pl
index 4587e27..6b77677 100755 (executable)
--- a/about.pl
+++ b/about.pl
@@ -35,7 +35,7 @@ use C4::Installer;
 
 use Koha;
 use Koha::Acquisition::Currencies;
-use Koha::Borrowers;
+use Koha::Patrons;
 use Koha::Config::SysPrefs;
 
 #use Smart::Comments '####';
@@ -82,8 +82,8 @@ my $warnPrefAnonymousPatron = (
         and not C4::Context->preference('AnonymousPatron')
 );
 
-my $anonymous_patron = Koha::Borrowers->find( C4::Context->preference('AnonymousPatron') );
-my $warnPrefAnonymousPatron_PatronDoesNotExist = ( not $anonymous_patron and Koha::Borrowers->search({ privacy => 2 })->count );
+my $anonymous_patron = Koha::Patrons->find( C4::Context->preference('AnonymousPatron') );
+my $warnPrefAnonymousPatron_PatronDoesNotExist = ( not $anonymous_patron and Koha::Patrons->search({ privacy => 2 })->count );
 
 my $errZebraConnection = C4::Context->Zconn("biblioserver",0)->errcode();