Ignore:
Timestamp:
2012/02/15 19:38:35 (15 years ago)
Author:
h_yoshimoto
Message:

#1603 #1632 優先度変更処理を修正、rankをpriorityに変更、細かなバグ修正、コメントの追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/system/LC_Page_Admin_System_Plugin.php

    r21509 r21512  
    637637        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    638638        // UPDATEする値を作成する。 
    639         $sqlval['rank'] = $priority; 
     639        $sqlval['priority'] = $priority; 
    640640        $sqlval['update_date'] = 'CURRENT_TIMESTAMP'; 
    641641        $where = "plugin_id = ?"; 
     
    671671        $arr_sqlval_plugin['compliant_version'] = $objReflection->getConstant('COMPLIANT_VERSION'); 
    672672        $arr_sqlval_plugin['plugin_description'] = $objReflection->getConstant('DESCRIPTION'); 
    673         $arr_sqlval_plugin['rank'] = 1 + $objQuery->max('rank', 'dtb_plugin'); 
     673        $arr_sqlval_plugin['priority'] = 0; 
    674674        $arr_sqlval_plugin['enable'] = PLUGIN_ENABLE_FALSE; 
    675675        $arr_sqlval_plugin['update_date'] = 'CURRENT_TIMESTAMP'; 
Note: See TracChangeset for help on using the changeset viewer.