mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
15 lines
244 B
PHP
15 lines
244 B
PHP
<?php
|
|
/** @phpstan-var \Gazelle\User $Viewer */
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Gazelle;
|
|
|
|
if (!$Viewer->isStaffPMReader()) {
|
|
Error403::error();
|
|
}
|
|
|
|
authorize();
|
|
|
|
echo new Manager\StaffPM()->removeCommonAnswer((int)($_POST['id'] ?? 0));
|