[Scummvm-git-logs] scummvm-web master -> 589dee82af00831a2045db1b4ce0d83c69d20ed4

Thunderforge noreply at scummvm.org
Thu Jan 13 02:10:15 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
589dee82af WEB: Removing unused CATEGORY_COLUMN constant


Commit: 589dee82af00831a2045db1b4ce0d83c69d20ed4
    https://github.com/scummvm/scummvm-web/commit/589dee82af00831a2045db1b4ce0d83c69d20ed4
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2022-01-12T20:10:09-06:00

Commit Message:
WEB: Removing unused CATEGORY_COLUMN constant

Changed paths:
    include/Models/ScreenshotsModel.php


diff --git a/include/Models/ScreenshotsModel.php b/include/Models/ScreenshotsModel.php
index ec3388d6..cdfc5bdf 100644
--- a/include/Models/ScreenshotsModel.php
+++ b/include/Models/ScreenshotsModel.php
@@ -12,7 +12,6 @@ class ScreenshotsModel extends BasicModel
     const INVALID_TARGET = 'Invalid target specified.';
     const INVALID_CATEGORY = 'Invalid category specified.';
     const SUBCATEGORY_COLUMN = '(case when game.series_id is null then screenshot.id else game.series_id end)';
-    const CATEGORY_COLUMN = '(case when count > 1 then game.company_id else \'other\' end)';
 
     public function getAllCategories()
     {




More information about the Scummvm-git-logs mailing list