Ignore:
Timestamp:
Feb 12, 2013, 12:06:00 PM (11 years ago)
Author:
mistic100
Message:

feature:65 pwg_db_connect doesn't return anything now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_upgrade.php

    r19703 r20720  
    315315  try
    316316  {
    317     $pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'], $conf['db_password'], $conf['db_base']);
    318     if ($pwg_db_link)
    319     {
    320       pwg_db_check_version();
    321     }
     317    pwg_db_connect($conf['db_host'], $conf['db_user'],
     318                   $conf['db_password'], $conf['db_base']);
     319    pwg_db_check_version();
    322320  }
    323321  catch (Exception $e)
Note: See TracChangeset for help on using the changeset viewer.