Changeset 6500
- Timestamp:
- Jun 9, 2010, 11:55:54 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions.inc.php
r6437 r6500 1144 1144 WHERE id = '.$params['image_id'].' 1145 1145 ;'; 1146 list($file_path, $original_sum) = mysql_fetch_row(pwg_query($query));1146 list($file_path, $original_sum) = pwg_db_fetch_row(pwg_query($query)); 1147 1147 1148 1148 // TODO only files added with web API can be updated with web API … … 1713 1713 ;'; 1714 1714 $result = pwg_query($query); 1715 if ( mysql_num_rows($result) == 0) {1715 if (pwg_db_num_rows($result) == 0) { 1716 1716 return new PwgError(404, "image_id not found"); 1717 1717 } 1718 list($path) = mysql_fetch_row($result);1718 list($path) = pwg_db_fetch_row($result); 1719 1719 1720 1720 $ret = array(); -
trunk/plugins/c13y_upgrade/initialize.inc.php
r5660 r6500 51 51 ;'; 52 52 53 if ( mysql_fetch_array(pwg_query($query)))53 if (pwg_db_fetch_array(pwg_query($query))) 54 54 { 55 55 $to_deactivate = false; … … 81 81 82 82 $result = pwg_query($query); 83 while ($row = mysql_fetch_assoc($result))83 while ($row = pwg_db_fetch_assoc($result)) 84 84 { 85 85 $to_deactivate = false;
Note: See TracChangeset
for help on using the changeset viewer.