mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Clear autosave cookie when autosaved document is deleted
This commit is contained in:
parent
f72ea052f1
commit
46aa82d63b
1 changed files with 1 additions and 0 deletions
|
|
@ -389,6 +389,7 @@ class editorController extends editor
|
|||
{
|
||||
if($mode)
|
||||
{
|
||||
setcookie('autosave_certify_key_' . $args->module_srl, 'deleted', time() - 86400);
|
||||
$output = executeQuery('editor.getSavedDocument', $args);
|
||||
$output = ModuleHandler::triggerCall('editor.deleteSavedDoc', 'after', $saved_doc);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue