Changeset 27295


Ignore:
Timestamp:
02/09/14 21:46:56 (6 years ago)
Author:
rvelices
Message:

Merged -r27294 from trunk:
feature 3043: Add event to allow calculation of rating score with a different algorithm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/include/functions_rate.inc.php

    r26461 r27295  
    137137function update_rating_score($element_id = false) 
    138138{ 
     139  if ( ($alt_result = trigger_event('update_rating_score', false, $element_id)) !== false) 
     140  { 
     141    return $alt_result; 
     142  } 
     143 
    139144  $query = ' 
    140145SELECT element_id, 
Note: See TracChangeset for help on using the changeset viewer.