Changeset 21941


Ignore:
Timestamp:
2012/06/26 16:47:15 (9 years ago)
Author:
habu
Message:

#1880 PHP5.3にて、SC_Helper_Plugin::getSingletonInstanceがstaticメソッドでない旨の警告がでる

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_Plugin.php

    r21927 r21941  
    7878     * @return object SC_Helper_Pluginオブジェクト 
    7979     */ 
    80     function getSingletonInstance($plugin_activate_flg = true) { 
     80    static function getSingletonInstance($plugin_activate_flg = true) { 
    8181        if (!isset($GLOBALS['_SC_Helper_Plugin_instance']) || is_null($GLOBALS['_SC_Helper_Plugin_instance'])) { 
    8282            // プラグインのローダーがDB接続を必要とするため、 
Note: See TracChangeset for help on using the changeset viewer.