XPressME Integration Kit

Trac


Ignore:
Timestamp:
Feb 9, 2013, 8:47:25 AM (11 years ago)
Author:
toemon
Message:

Deprecated. 'Database::getInstance();' is deprecated since XOOPS 2.5.4 fixed #423

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver2.4/xpressme_integration_kit/include/data.inc.php

    r583 r835  
    250250if( ! function_exists( 'get_blog_option' ) ) { 
    251251        function get_blog_option($option_table,$option_name){ 
    252                 $xoopsDB =& Database::getInstance(); 
     252                $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 
    253253 
    254254                $sql = "SELECT option_value FROM $option_table WHERE option_name = '" . $option_name . "'"; 
Note: See TracChangeset for help on using the changeset viewer.