Changeset 22649


Ignore:
Timestamp:
2013/03/09 22:00:58 (11 years ago)
Author:
adachi
Message:

#2181 インストーラ渡すように修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_13-plugin/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore.php

    r22567 r22649  
    851851    function execPlugin($obj, $class_name, $exec_func) 
    852852    { 
     853        $objPluginInstaller = new SC_Plugin_Installer($obj); 
     854         
    853855        $arrErr = array(); 
    854856        if (method_exists($class_name, $exec_func) === true) { 
    855             $ret = call_user_func(array($class_name, $exec_func), $obj); 
     857            $ret = call_user_func_array( 
     858                    array($class_name, $exec_func), 
     859                    array($obj, $objPluginInstaller)); 
    856860            if (!(is_null($ret) || $ret === true)) { 
    857861                $arrErr[$obj['plugin_code']] = $ret; 
Note: See TracChangeset for help on using the changeset viewer.