Changeset 27294


Ignore:
Timestamp:
Feb 9, 2014, 9:46:06 PM (7 years ago)
Author:
rvelices
Message:

feature 3043: Add event to allow calculation of rating score with a different algorithm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_rate.inc.php

    r26461 r27294  
    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.