UpdateBjsTemplates.php wip_leon_T7737_Review_publisher_look_for_all
authorleon <leon@roojs.com>
Thu, 3 Aug 2023 03:39:04 +0000 (11:39 +0800)
committerleon <leon@roojs.com>
Thu, 3 Aug 2023 03:39:04 +0000 (11:39 +0800)
UpdateBjsTemplates.php

index a223198..182a8fe 100644 (file)
@@ -318,10 +318,6 @@ class Pman_Cms_UpdateBjsTemplates extends Pman_Admin_UpdateBjsTemplates
             }
             
             foreach($ff->Pman_Cms['DataObjects_Cms_templatestr']['tables'] as $table=>$cols){
-                $tableName = $table;
-                if(strpos($table, ',') !== false) {
-                    $ar = explode(',' $table);
-                }
                 $t = DB_DataObject::factory($table);
                 foreach($t->fetchAll() as $d) {
                     $cts->onTableChange($this, $d, 'update');