Configure the new TinyMCE to have almost the same buttons as the old one.
Configure the new TinyMCE to have almost the same buttons as the old one.

File last commit:

881a86f051f9
3cf3f8fd35f8
Show More
delete-twitter-user.php
26 lines | 680 B | text/x-php | PhpLexer
/ delete-twitter-user.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-twitteruser-'.(int)$_REQUEST['id']);
//Filter input first
$victim = (int)$_REQUEST['id'];
if($victim)
{
$r = $mtdb->query("DELETE FROM twitter_user WHERE id = '$victim'");
if(!$r)
{
adminlog('Error deleting specified twitter user ' . $victim, MTS_TWITTER, MTA_DELETE, E_ERROR);
mtdie('Error deleting the specified twitter user.', 'SQL Error');
}
}
adminlog("Twitter $victim deleted.", MTS_TWITTER, MTA_DELETE);
_redirect( ADMIN_PATH . '/manage-twitter-users.php?deleted=success' );
?>