mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
16 lines
261 B
PHP
16 lines
261 B
PHP
<?php
|
|
|
|
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
|
|
|
|
use App\Models\UserRole;
|
|
|
|
|
|
|
|
|
|
if (request()->has('id')) {
|
|
UserRole::deleteRole(request()->input('id'));
|
|
}
|
|
|
|
$referrer = request()->server('HTTP_REFERER');
|
|
header('Location: '.$referrer);
|