mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Fix #2284 게시글 삭제시 스크랩이 삭제 되지 않는 문제 고침
This commit is contained in:
parent
b062e4eaef
commit
bb7954ca10
3 changed files with 28 additions and 0 deletions
|
|
@ -3808,6 +3808,25 @@ class MemberController extends Member
|
|||
$oCommentController->addCommentPopupMenu($url,'cmd_spammer','','popup');
|
||||
}
|
||||
|
||||
/**
|
||||
* trigger for document.deleteDocument. Delete to document scrap for deleteDocument trigger.
|
||||
* @param object $obj
|
||||
* @return void
|
||||
*/
|
||||
function triggerDeleteDocument($obj)
|
||||
{
|
||||
// Variables
|
||||
$args = new stdClass;
|
||||
$args->document_srl = intval($obj->document_srl);
|
||||
|
||||
// Delete
|
||||
$output = executeQuery('member.deleteScrapDocumentByDocumentSrl', $args);
|
||||
if (!$output->toBool())
|
||||
{
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Spammer manage. Denied user login. And delete or trash all documents. Response Ajax string
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue