Changeset 21434


Ignore:
Timestamp:
2012/02/03 11:15:06 (12 years ago)
Author:
Seasoft
Message:

木構造を使用しないカスタマイズ (patch 2版)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/patches/no_tree.patch

    r21418 r21434  
     1Index: data/class/helper/SC_Helper_DB.php 
     2=================================================================== 
     3--- data/class/helper/SC_Helper_DB.php  (revision 21433) 
     4+++ data/class/helper/SC_Helper_DB.php  (working copy) 
     5@@ -1437,7 +1437,7 @@ 
     6         if (!SC_Utils_Ex::sfIsInt($product_id)) return false; 
     7  
     8         $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     9-        $where = 'product_id = ? AND del_flg = 0 AND class_combination_id IS NOT NULL'; 
     10+        $where = 'product_id = ? AND del_flg = 0 AND classcategory_id1 != 0 AND classcategory_id2 != 0'; 
     11         $exists = $objQuery->exists('dtb_products_class', $where, array($product_id)); 
     12  
     13         return $exists; 
    114Index: data/class/pages/admin/products/LC_Page_Admin_Products_Product.php 
    215=================================================================== 
    3 --- data/class/pages/admin/products/LC_Page_Admin_Products_Product.php  (revision 21417) 
     16--- data/class/pages/admin/products/LC_Page_Admin_Products_Product.php  (revision 21433) 
    417+++ data/class/pages/admin/products/LC_Page_Admin_Products_Product.php  (working copy) 
    518@@ -1048,32 +1048,14 @@ 
     
    158171Index: data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php 
    159172=================================================================== 
    160 --- data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php (revision 21417) 
     173--- data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php (revision 21433) 
    161174+++ data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php (working copy) 
    162175@@ -236,16 +236,18 @@ 
     
    286299Index: data/class/pages/admin/products/LC_Page_Admin_Products_UploadCSV.php 
    287300=================================================================== 
    288 --- data/class/pages/admin/products/LC_Page_Admin_Products_UploadCSV.php    (revision 21417) 
     301--- data/class/pages/admin/products/LC_Page_Admin_Products_UploadCSV.php    (revision 21433) 
    289302+++ data/class/pages/admin/products/LC_Page_Admin_Products_UploadCSV.php    (working copy) 
    290 @@ -612,6 +612,7 @@ 
     303@@ -613,6 +613,7 @@ 
    291304      */ 
    292305     function lfCheckErrorDetail($item, $arrErr) { 
     
    296309             $arrErr['product_class_id'] = "※ 指定の商品規格IDは、登録されていません。"; 
    297310         } 
    298 @@ -627,17 +628,6 @@ 
     311@@ -628,17 +629,6 @@ 
    299312                 } 
    300313             } 
     
    316329Index: data/class/SC_Product.php 
    317330=================================================================== 
    318 --- data/class/SC_Product.php   (revision 21417) 
     331--- data/class/SC_Product.php   (revision 21433) 
    319332+++ data/class/SC_Product.php   (working copy) 
    320 @@ -268,9 +268,9 @@ 
     333@@ -258,9 +258,9 @@ 
    321334                 : ''; 
    322335  
     
    330343             $this->stock_find[$productId] = false; 
    331344             $classCategories = array(); 
    332 @@ -325,7 +325,7 @@ 
     345@@ -315,7 +315,7 @@ 
    333346                 $classCats2['product_type'] = $productsClass['product_type_id']; 
    334347  
     
    339352                 } 
    340353                 $classCategories[$productsClass1]['#'] = array( 
    341 @@ -365,86 +365,33 @@ 
     354@@ -355,86 +355,33 @@ 
    342355             T1.product_type_id, 
    343356             T1.down_filename, 
     
    442455  
    443456     /** 
    444 @@ -798,7 +745,7 @@ 
     457@@ -788,7 +735,7 @@ 
    445458         ( 
    446459              SELECT dtb_products.*, 
     
    451464                     dtb_products_class.product_code, 
    452465                     dtb_products_class.stock, 
    453 @@ -810,11 +757,13 @@ 
     466@@ -800,11 +747,13 @@ 
    454467                     dtb_products_class.point_rate, 
    455468                     dtb_products_class.down_filename, 
     
    470483                     Tcc1.name as classcategory_name, 
    471484                     Tcc2.class_id as parent_class_id, 
    472 @@ -822,14 +771,10 @@ 
     485@@ -812,14 +761,10 @@ 
    473486              FROM dtb_products 
    474487                  LEFT JOIN dtb_products_class 
     
    489502Index: html/install/index.php 
    490503=================================================================== 
    491 --- html/install/index.php  (revision 21417) 
     504--- html/install/index.php  (revision 21430) 
    492505+++ html/install/index.php  (working copy) 
    493506@@ -1053,7 +1053,6 @@ 
     
    501514Index: html/install/sql/create_table_mysql.sql 
    502515=================================================================== 
    503 --- html/install/sql/create_table_mysql.sql (revision 21417) 
     516--- html/install/sql/create_table_mysql.sql (revision 21430) 
    504517+++ html/install/sql/create_table_mysql.sql (working copy) 
    505518@@ -315,7 +315,8 @@ 
     
    530543Index: html/install/sql/create_table_pgsql.sql 
    531544=================================================================== 
    532 --- html/install/sql/create_table_pgsql.sql (revision 21417) 
     545--- html/install/sql/create_table_pgsql.sql (revision 21430) 
    533546+++ html/install/sql/create_table_pgsql.sql (working copy) 
    534547@@ -315,7 +315,8 @@ 
     
    559572Index: html/install/sql/drop_table.sql 
    560573=================================================================== 
    561 --- html/install/sql/drop_table.sql (revision 21417) 
     574--- html/install/sql/drop_table.sql (revision 21430) 
    562575+++ html/install/sql/drop_table.sql (working copy) 
    563576@@ -15,7 +15,6 @@ 
     
    571584Index: html/install/sql/insert_data.sql 
    572585=================================================================== 
    573 --- html/install/sql/insert_data.sql    (revision 21417) 
     586--- html/install/sql/insert_data.sql    (revision 21430) 
    574587+++ html/install/sql/insert_data.sql    (working copy) 
    575588@@ -236,8 +236,6 @@ 
     
    644657Index: test/createEcCubeData-v25.php 
    645658=================================================================== 
    646 --- test/createEcCubeData-v25.php   (revision 21417) 
     659--- test/createEcCubeData-v25.php   (revision 21430) 
    647660+++ test/createEcCubeData-v25.php   (working copy) 
    648661@@ -57,7 +57,7 @@ 
Note: See TracChangeset for help on using the changeset viewer.