Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-02-21 21:48:03 +01:00
parent ebab220f7e
commit 5eee2c6649
21 changed files with 172 additions and 150 deletions

Binary file not shown.

View File

@@ -1,11 +1 @@
DELETE r1 FROM pp_redirects r1
INNER JOIN pp_redirects r2
ON r1.`from` = r2.`from`
AND (r1.lang_id <=> r2.lang_id)
AND (
IFNULL(r1.date_add, '1000-01-01 00:00:00') < IFNULL(r2.date_add, '1000-01-01 00:00:00')
OR (
IFNULL(r1.date_add, '1000-01-01 00:00:00') = IFNULL(r2.date_add, '1000-01-01 00:00:00')
AND r1.id < r2.id
)
);
DELETE FROM pp_redirects WHERE id IN (SELECT id FROM (SELECT r1.id FROM pp_redirects r1 INNER JOIN pp_redirects r2 ON r1.`from` = r2.`from` AND (r1.lang_id <=> r2.lang_id) AND (IFNULL(r1.date_add, '1000-01-01 00:00:00') < IFNULL(r2.date_add, '1000-01-01 00:00:00') OR (IFNULL(r1.date_add, '1000-01-01 00:00:00') = IFNULL(r2.date_add, '1000-01-01 00:00:00') AND r1.id < r2.id))) AS tmp);

View File

@@ -0,0 +1,23 @@
D: ../autoload/admin/controls/
D: ../autoload/admin/factory/
D: ../autoload/admin/view/
D: ../autoload/cms/
D: ../autoload/front/controls/
D: ../autoload/front/factory/
D: ../autoload/front/view/
D: ../autoload/shop/
F: ../autoload/admin/class.Site.php
F: ../autoload/class.Article.php
F: ../autoload/class.Cache.php
F: ../autoload/class.CacheHandler.php
F: ../autoload/class.DbModel.php
F: ../autoload/class.Email.php
F: ../autoload/class.Html.php
F: ../autoload/class.Image.php
F: ../autoload/class.Log.php
F: ../autoload/class.Mobile_Detect.php
F: ../autoload/class.RedisConnection.php
F: ../autoload/class.S.php
F: ../autoload/class.Tpl.php
F: ../autoload/curl.class.php
D: ../updates/

BIN
updates/0.20/ver_0.298.zip Normal file

Binary file not shown.