<?php /* ==================== [BEGIN_COT_EXT] Hooks=page.edit.delete.done [END_COT_EXT] ==================== */ /** * Removes ratings associated with a page * * @package Ratings * @copyright (c) Cotonti Team * @license https://github.com/Cotonti/Cotonti/blob/master/License.txt */ defined('COT_CODE') or die('Wrong URL'); require_once cot_incfile('ratings', 'plug'); cot_ratings_remove('page', $id);