DataObjects/Core_template.php
authorleon <leon@roojs.com>
Thu, 20 Jul 2023 03:59:25 +0000 (11:59 +0800)
committerleon <leon@roojs.com>
Thu, 20 Jul 2023 03:59:25 +0000 (11:59 +0800)
DataObjects/Core_template.php

index 9ec062b..1492f52 100644 (file)
@@ -583,11 +583,6 @@ WHERE (
             // then in theory there are no translations
             return false;
         }
-        if($clsname == 'publisher_insightsreport_volumeovertime' && $lang == 'zh_CN') {
-            var_dump($ts->updated);
-            var_dump(date('Y-m-d H:i:s', filemtime($fname)));
-            die('b');
-        }
         if (file_exists($fname) && strtotime($ts->updated) < filemtime($fname)) {
             return $fname; // file exists and is newer than our updated line.
         }
@@ -600,11 +595,6 @@ WHERE (
         $ts->template_id = $d->id;
         $ts->whereAdd("LENGTH(join_src_id_id.txt) > 0 AND LENGTH({$ts->tableName()}.txt) > 0");
         $words = $ts->fetchAll('src_id_txt', 'txt' );
-        if($clsname == 'publisher_insightsreport_volumeovertime' && $lang == 'zh_CN') {
-            var_dump($ts->updated);
-            var_dump(date('Y-m-d H:i:s', filemtime($fname)));
-            die('b');
-        }
                
         if (!file_exists($fdir)) {
             //var_dump($fdir);