Changeset 12402
- Timestamp:
- Oct 10, 2011, 7:12:12 PM (13 years ago)
- Location:
- extensions/delete_hit_rate
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/delete_hit_rate/admin/admin.php
r9796 r12402 57 57 $query = ' 58 58 UPDATE ' . IMAGES_TABLE . ' 59 SET average_rate= \'NULL\'59 SET rating_score= \'NULL\' 60 60 ;'; 61 61 $result = pwg_query($query); -
extensions/delete_hit_rate/initadmin.php
r9796 r12402 61 61 $query = ' 62 62 UPDATE ' . IMAGES_TABLE . ' 63 SET average_rate = \'NULL\'63 SET rating_score = \'NULL\' 64 64 WHERE id = '.$_GET['image_id'].' 65 65 ;'; … … 154 154 $query = ' 155 155 UPDATE ' . IMAGES_TABLE . ' 156 SET average_rate = \'NULL\'156 SET rating_score = \'NULL\' 157 157 WHERE id = \''.$delrate.'\' 158 158 ;';
Note: See TracChangeset
for help on using the changeset viewer.