Remove a stray debug function that snuck in.
Remove a stray debug function that snuck in.

File last commit:

03778752b7d9
7fe186c7689f
Show More
delete-comic.php
19 lines | 581 B | text/x-php | PhpLexer
/ delete-comic.php
Add most necessary files for admin interface.
r1 <?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-strip-'.(int)$_REQUEST['strip_id']);
if(!deletestrip( $_REQUEST['strip_id'] ))
{
Finish (I think) refactoring to use DBAL.
r36 adminlog("Error deleting strip $_REQUEST[strip_id]:".$dbConnection->errorCode(), MTS_STRIP, MTA_DELETE, E_ERROR);
Add most necessary files for admin interface.
r1 mtdie('Error deleting the specified strip.','SQL Error');
}
adminlog("Strip $_REQUEST[strip_id] deleted.", MTS_STRIP, MTA_DELETE);
_redirect( ADMIN_PATH . '/manage-comics.php?deleted=success' );
Switch to mysqli_* in other php files.
r5 ?>