XPressME Integration Kit

Trac


Ignore:
Timestamp:
Feb 9, 2013, 8:47:25 AM (12 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/search.php

    r689 r835  
    107107if( ! function_exists( 'get_blog_option' ) ) { 
    108108        function get_blog_option($option_table,$option_name){ 
    109                 $xoopsDB =& Database::getInstance(); 
     109                $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 
    110110 
    111111                $sql = "SELECT option_value FROM $option_table WHERE option_name = '" . $option_name . "'"; 
Note: See TracChangeset for help on using the changeset viewer.