Add TinyMCE 4.5.7 distribution.
Add TinyMCE 4.5.7 distribution.

File last commit:

c1e4c31f199d
795a5d5dc361
Show More
delete-rant.php
16 lines | 487 B | text/x-php | PhpLexer
/ delete-rant.php
<?php
require_once('include/admin.inc.php');
auth_redirect(); // Require logged in user to access this page.
// Deliberatly don't pass a nonce here, always AYS
check_nonce('delete-rant-'.(int)$_REQUEST['rant_id']);
if(!deleterant( $_REQUEST['rant_id'] ))
{
adminlog("Error deleting rant $_REQUEST[rant_id]: ".mysql_error(), MTS_RANT, MTA_DELETE, E_ERROR);
mtdie('Error deleting the specified rant.','SQL Error');
}
_redirect( ADMIN_PATH . '/manage-rants.php?deleted=success' );
?>