From 59392e460020447720089976b83139ad59d275fe Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Thu, 22 Jul 2021 14:00:12 +0200 Subject: Rename: Append "Repository" to repository classes Rename the repository classes and append the name with "Repository" to prevent naming confusions with the entity classes. --- core/application.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/application.php') diff --git a/core/application.php b/core/application.php index f44bb27..e32779a 100644 --- a/core/application.php +++ b/core/application.php @@ -169,10 +169,10 @@ if(Application::get('CORE.SEND_304') AND !defined('ADMINISTRATION')) { $query = '(SELECT time_update FROM %s ORDER BY time_update DESC LIMIT 1) AS %s'; foreach([ - ORM\Repositories\Category::getTableName(), - ORM\Repositories\Page::getTableName(), - ORM\Repositories\Post::getTableName(), - ORM\Repositories\User::getTableName() + ORM\Repositories\CategoryRepository::getTableName(), + ORM\Repositories\PageRepository::getTableName(), + ORM\Repositories\PostRepository::getTableName(), + ORM\Repositories\UserRepository::getTableName() ] as $table) { $parts[] = sprintf($query, $table, $table); } -- cgit v1.2.3