Changeset 12402


Ignore:
Timestamp:
Oct 10, 2011, 7:12:12 PM (13 years ago)
Author:
ddtddt
Message:

[extensions] - delete_hit_rate - update 2.3.0

Location:
extensions/delete_hit_rate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/delete_hit_rate/admin/admin.php

    r9796 r12402  
    5757        $query = '
    5858UPDATE ' . IMAGES_TABLE . '
    59   SET average_rate= \'NULL\'
     59  SET rating_score= \'NULL\'
    6060    ;';
    6161$result = pwg_query($query);
  • extensions/delete_hit_rate/initadmin.php

    r9796 r12402  
    6161        $query = '
    6262UPDATE ' . IMAGES_TABLE . '
    63   SET average_rate = \'NULL\'
     63  SET rating_score = \'NULL\'
    6464  WHERE id = '.$_GET['image_id'].'
    6565    ;';
     
    154154                $query = '
    155155                UPDATE ' . IMAGES_TABLE . '
    156                 SET average_rate = \'NULL\'
     156                SET rating_score = \'NULL\'
    157157                WHERE id = \''.$delrate.'\'
    158158    ;';
Note: See TracChangeset for help on using the changeset viewer.