Changeset 19449


Ignore:
Timestamp:
2010/11/07 03:01:20 (13 years ago)
Author:
miningbrownie
Message:

auto commit by watch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/plugin/testPlugin1/TestPlugin1.php

    r19448 r19449  
    3737        $objQuery = new SC_Query(); 
    3838        $arrPlugins = $objQuery->get("dtb_plugin", "plugin_id", "plugin_name = ?",array($name)); 
    39         if(count($arrPlugins) == 0){ 
    40             $data = array( 
     39        $data = array( 
    4140                      'plugin_name' => $objForm->getValue('plugin_name'), 
    4241                      'path' => realpath(DATA_DIR.'/plugin/'.$objForm->getValue('plugin_name').'/'), 
     
    4645                    'version' => $this->getVersion() 
    4746 
    48             ); 
     47        ); 
     48 
     49        if(count($arrPlugins) == 0){ 
     50             
    4951        } 
    50          
     52 
    5153        $objQuery->insert("dtb_plugin", $data); 
    5254 
Note: See TracChangeset for help on using the changeset viewer.