mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
13 lines
295 B
PHP
13 lines
295 B
PHP
<?php
|
|
/** @phpstan-var \Gazelle\User $Viewer */
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Gazelle;
|
|
|
|
require_once __DIR__ . '/../forums/do_warn.php';
|
|
|
|
[$post, $body] = handleWarningRequest(new Manager\Comment());
|
|
$post->setField('Body', $body)
|
|
->setField('EditedUserID', $Viewer->id())->modify();
|