diff options
author | Thomas Lange <code@nerdmind.de> | 2021-07-22 14:00:12 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-07-22 14:00:12 +0200 |
commit | 59392e460020447720089976b83139ad59d275fe (patch) | |
tree | 25cc766f352d9ae6319d22d43388db563d6ba404 /core/application.php | |
parent | 912a19ef8c58b87ac075d21cee0425f7715b4f94 (diff) | |
download | blog-59392e460020447720089976b83139ad59d275fe.tar.gz blog-59392e460020447720089976b83139ad59d275fe.tar.xz blog-59392e460020447720089976b83139ad59d275fe.zip |
Rename: Append "Repository" to repository classes
Rename the repository classes and append the name with "Repository" to
prevent naming confusions with the entity classes.
Diffstat (limited to 'core/application.php')
-rw-r--r-- | core/application.php | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |