plugins\trashcan\trashcan.page.admin.delete.php

<?php
/* ====================
[BEGIN_COT_EXT]
Hooks=page.admin.delete.done
[END_COT_EXT]
==================== */
 
/**
 * Trashcan delete page
 *
 * @package TrashCan
 * @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('trashcan', 'plug');
if ($cfg['plugin']['trashcan']['trash_page'])
{
	cot_trash_put('page', $L['Page']." #".$id." ".$row['page_title'], $id, $row);
}