mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-04 19:13:04 -04:00
9 lines
198 B
PHP
9 lines
198 B
PHP
<?php
|
|
|
|
require_once('do_warn.php');
|
|
[$post, $body] = handleWarningRequest(new Gazelle\Manager\ForumPost);
|
|
$post->edit($Viewer->id(), $body);
|
|
if ($post->isPinned()) {
|
|
$post->thread()->flush();
|
|
}
|