Abhängigkeit zu SimpleAjax entfernt

Kompatibilität zu PHP 7 hergestellt
This commit is contained in:
2017-03-31 08:34:43 +02:00
parent 11e3e2817c
commit 8ca4aad975
5 changed files with 147 additions and 9 deletions

View File

@ -34,7 +34,7 @@ use cgoIT\rateit\RateItBackend;
* Hooks
*/
$GLOBALS['TL_HOOKS']['generatePage'][] = array('rateit\\RateItPage', 'generatePage');
$GLOBALS['TL_HOOKS']['simpleAjax'][] = array('rateit\\RateIt', 'doVote');
$GLOBALS['TL_HOOKS']['rateitAjax'][] = array('rateit\\RateIt', 'doVote');
$GLOBALS['TL_HOOKS']['parseArticles'][] = array('rateit\\RateItNews', 'parseArticle');
$GLOBALS['TL_HOOKS']['getContentElement'][] = array('rateit\\RateItFaq', 'getContentElementRateIt');
$GLOBALS['TL_HOOKS']['parseTemplate'][] = array('rateit\\RateItArticle', 'parseTemplateRateIt');