Ignore:
Timestamp:
Mar 6, 2013, 12:38:35 PM (11 years ago)
Author:
plg
Message:

compatibility with Piwigo 2.5: replace mysql_* functions by pwg_db_* equivalent

disable whois online feature for search engine robots to avoid useless CPU usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/whois_online/include/wo_functions.inc.php

    r6386 r21237  
    5858        $ctr = 0; $Online[0] = '';
    5959        $result = pwg_query('SELECT * FROM ' . WHOIS_ONLINE_TABLE . $order . ';');
    60         while($row=mysql_fetch_array($result)) {
     60        while($row=pwg_db_fetch_assoc($result)) {
    6161                $row['delay'] = (int) time() - $row['last_access'];
    6262                $row['elm_ids'] = explode(' ', $row['last_elm_ids']);
Note: See TracChangeset for help on using the changeset viewer.