mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
16 lines
311 B
PHP
16 lines
311 B
PHP
<?php
|
|
require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'smarty.php';
|
|
|
|
|
|
use nntmux\ReleaseComments;
|
|
|
|
$page = new AdminPage();
|
|
|
|
if (isset($_GET['id'])) {
|
|
$rc = new ReleaseComments($page->settings);
|
|
$rc->deleteComment($_GET['id']);
|
|
}
|
|
|
|
$referrer = $_SERVER['HTTP_REFERER'];
|
|
header("Location: " . $referrer);
|