Index: trunk/extensions/ArticleFeedback/api/ApiArticleFeedback.php |
— | — | @@ -72,9 +72,11 @@ |
73 | 73 | |
74 | 74 | $this->insertUserRatings( $pageId, $revisionId, $wgUser, $token, $rating, $thisRating, $params['bucket'] ); |
75 | 75 | } |
76 | | - |
| 76 | + |
77 | 77 | $this->insertProperties( $revisionId, $wgUser, $token, $params ); |
78 | 78 | |
| 79 | + wfRunHooks( 'ArticleFeedbackChangeRating', array( $params ) ); |
| 80 | + |
79 | 81 | $r = array( 'result' => 'Success' ); |
80 | 82 | $this->getResult()->addValue( null, $this->getModuleName(), $r ); |
81 | 83 | } |