Merge branch 'rhymix:master' into master
Some checks failed
PHP Lint & Codeception / PHP 7.4 (push) Has been cancelled
PHP Lint & Codeception / PHP 8.0 (push) Has been cancelled
PHP Lint & Codeception / PHP 8.1 (push) Has been cancelled
PHP Lint & Codeception / PHP 8.2 (push) Has been cancelled
PHP Lint & Codeception / PHP 8.3 (push) Has been cancelled
PHP Lint & Codeception / PHP 8.4 (push) Has been cancelled

This commit is contained in:
Lastorder 2025-06-02 21:32:36 +09:00 committed by GitHub
commit 7fec210203
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
53 changed files with 1133 additions and 909 deletions

View file

@ -38,7 +38,11 @@ class SpamfilterController extends Spamfilter
*/
function triggerInsertDocument(&$obj)
{
if($_SESSION['avoid_log']) return;
if (!empty($_SESSION['avoid_log']))
{
return;
}
// Check the login status, login information, and permission
$is_logged = Context::get('is_logged');
$logged_info = Context::get('logged_info');
@ -98,7 +102,11 @@ class SpamfilterController extends Spamfilter
*/
function triggerInsertComment(&$obj)
{
if($_SESSION['avoid_log']) return;
if (!empty($_SESSION['avoid_log']))
{
return;
}
// Check the login status, login information, and permission
$is_logged = Context::get('is_logged');
$logged_info = Context::get('logged_info');