From b9d5cb7b49b3394142b257cd0186652e91cb3b5f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 3 Apr 2019 17:14:20 +0200 Subject: [PATCH] SL::DB::Cache nach SL::DB::Helper::Cache verschoben Da es sich nicht um eine Mapping-Klasse einer Tabelle handelt, sollte sie nicht direkt innerhalb von SL::DB liegen. --- SL/DB.pm | 4 ++-- SL/DB/{ => Helper}/Cache.pm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename SL/DB/{ => Helper}/Cache.pm (87%) diff --git a/SL/DB.pm b/SL/DB.pm index d098302ad..c678ed14f 100644 --- a/SL/DB.pm +++ b/SL/DB.pm @@ -6,12 +6,12 @@ use Carp; use Data::Dumper; use English qw(-no_match_vars); use Rose::DB; -use SL::DB::Cache; +use SL::DB::Helper::Cache; use Scalar::Util qw(blessed); use base qw(Rose::DB); -__PACKAGE__->db_cache_class('SL::DB::Cache'); +__PACKAGE__->db_cache_class('SL::DB::Helper::Cache'); __PACKAGE__->use_private_registry; my (%_db_registered); diff --git a/SL/DB/Cache.pm b/SL/DB/Helper/Cache.pm similarity index 87% rename from SL/DB/Cache.pm rename to SL/DB/Helper/Cache.pm index a0e8d7845..e93b551d2 100644 --- a/SL/DB/Cache.pm +++ b/SL/DB/Helper/Cache.pm @@ -1,4 +1,4 @@ -package SL::DB::Cache; +package SL::DB::Helper::Cache; use strict; use warnings; @@ -30,7 +30,7 @@ __END__ =head1 NAME -SL::DB::Cache - database handle caching for kivitendo +SL::DB::Helper::Cache - database handle caching for kivitendo =head1 DESCRIPTION -- 2.20.1