Update references to deprecated global function checkCSRF()

This commit is contained in:
Kijin Sung 2025-12-17 18:00:48 +09:00
parent cc17bbe05a
commit 0c018f1daf
6 changed files with 9 additions and 9 deletions

View file

@ -50,7 +50,7 @@ class DocumentView extends Document
*/
function dispDocumentPreview()
{
if(!checkCSRF())
if(!Rhymix\Framework\Security::checkCSRF())
{
throw new Rhymix\Framework\Exceptions\SecurityViolation;
}