mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Update references to deprecated global function checkCSRF()
This commit is contained in:
parent
cc17bbe05a
commit
0c018f1daf
6 changed files with 9 additions and 9 deletions
|
|
@ -50,7 +50,7 @@ class DocumentView extends Document
|
|||
*/
|
||||
function dispDocumentPreview()
|
||||
{
|
||||
if(!checkCSRF())
|
||||
if(!Rhymix\Framework\Security::checkCSRF())
|
||||
{
|
||||
throw new Rhymix\Framework\Exceptions\SecurityViolation;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue