[Scummvm-git-logs] scummvm-web master -> ec361d132814fcaa5d61f7a9c1c058f5a639af2f

Thunderforge noreply at scummvm.org
Thu Nov 25 16:50:57 UTC 2021


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:
ec361d1328 WEB: Preventing "Daily" from being appended to file names


Commit: ec361d132814fcaa5d61f7a9c1c058f5a639af2f
    https://github.com/scummvm/scummvm-web/commit/ec361d132814fcaa5d61f7a9c1c058f5a639af2f
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2021-11-25T10:50:52-06:00

Commit Message:
WEB: Preventing "Daily" from being appended to file names

Changed paths:
    include/OrmObjects/Download.php


diff --git a/include/OrmObjects/Download.php b/include/OrmObjects/Download.php
index 00fc130c..45c6d624 100644
--- a/include/OrmObjects/Download.php
+++ b/include/OrmObjects/Download.php
@@ -19,8 +19,8 @@ class Download extends BaseDownload
     {
         $name = parent::getName();
         $version = $this->getVersion();
-        // If it's not the latest version, prefix with the version number
-        if ($version != RELEASE) {
+        // If it's not the latest version and not daily, prefix with the version number
+        if ($version != RELEASE && $version != 'Daily') {
             return str_replace('{$version}', $version, "$version $name");
         }
         return $name;




More information about the Scummvm-git-logs mailing list