Ignore:
Timestamp:
Nov 20, 2009, 3:17:04 PM (15 years ago)
Author:
nikrou
Message:

Feature 1244 resolved
Replace all mysql functions in core code by ones independant of database engine

Fix small php code synxtax : hash must be accessed with [ ] and not { }.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/upgrade_1.4.0.php

    r4265 r4325  
    4343  WHERE param = \'prefix_thumbnail\'
    4444;';
    45 list($prefix_thumbnail) = mysql_fetch_row(pwg_query($query));
     45list($prefix_thumbnail) = pwg_db_fetch_row(pwg_query($query));
    4646
    4747// delete obsolete configuration
     
    192192
    193193$datas = array();
    194 list($dbnow) = mysql_fetch_row(pwg_query('SELECT NOW();'));
     194list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();'));
    195195
    196196$result = pwg_query($query);
    197 while ($row = mysql_fetch_assoc($result))
     197while ($row = pwg_db_fetch_assoc($result))
    198198{
    199199  $row['user_id'] = $row['id'];
Note: See TracChangeset for help on using the changeset viewer.