mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Clean up vote cancel functions and ensure consistency between document and comment modules #1367
This commit is contained in:
parent
b97ca16b6c
commit
3f620481cf
2 changed files with 9 additions and 6 deletions
|
|
@ -273,7 +273,7 @@ class documentController extends document
|
|||
if(!$d_output->toBool()) return $d_output;
|
||||
}
|
||||
// session reset
|
||||
$_SESSION['voted_document'][$document_srl] = false;
|
||||
unset($_SESSION['voted_document'][$document_srl]);
|
||||
|
||||
// Call a trigger (after)
|
||||
ModuleHandler::triggerCall('document.updateVotedCountCancel', 'after', $trigger_obj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue