Changeset 28

Show
Ignore:
Timestamp:
01/08/07 19:08:51 (2 years ago)
Author:
mdawaffe
Message:

use meta api

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bb-ratings/trunk/bb-ratings.php

    r22 r28  
    66Author: Michael D Adams 
    77Author URI: http://blogwaffe.com/ 
    8 Version: 0.7.1 
     8Version: 0.7.2 
    99*/ 
    1010 
     
    170170                bb_update_topicmeta( $topic_id, 'avg_rating', $avg ); 
    171171        } elseif ( 0 != $new_status ) { 
    172                 $bbdb->query("DELETE FROM $bbdb->topic_meta WHERE topic_id = '$topic_id' AND meta_key = 'avg_rating'"); 
     172                bb_delete_topicmeta( $topic_id, 'avg_rating' ); 
    173173        } 
    174174} 
  • bb-ratings/trunk/readme.txt

    r22 r28  
    44Requires at least: 0.74 
    55Tested up to: 0.74 
    6 Stable Tag: 0.7.1 
     6Stable Tag: 0.7.2 
    77 
    88Allows users to rate topics on a simple 1-5 star scale.