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/blocks/widget_block.php

    r583 r835  
    2424                $selected = explode(',' , $widget_select); 
    2525                $wp_prefix = preg_replace('/wordpress/','wp',$mydirname) . '_'; 
    26                 $xoopsDB =& Database::getInstance(); 
     26                $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 
    2727                $myts =& MyTextSanitizer::getInstance(); 
    2828 
Note: See TracChangeset for help on using the changeset viewer.