mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
회원 탈퇴시(트리거 발생시) 유저 세팅 데이터도 삭제 할 수 있도록 개선
This commit is contained in:
parent
a20156242f
commit
15ab8b5353
2 changed files with 16 additions and 0 deletions
|
|
@ -82,6 +82,13 @@ class ncenterliteController extends ncenterlite
|
|||
{
|
||||
$this->removeFlagFile($args->member_srl);
|
||||
}
|
||||
|
||||
// Delete to user setting.
|
||||
$userSetOutput = executeQuery('ncenterlite.deleteNcenterliteUserSettingData', $args);
|
||||
if(!$userSetOutput->toBool())
|
||||
{
|
||||
return $userSetOutput;
|
||||
}
|
||||
}
|
||||
|
||||
function triggerAfterInsertDocument(&$obj)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
<query id="deleteNcenterliteUserSettingData" action="delete">
|
||||
<tables>
|
||||
<table name="ncenterlite_user_set" />
|
||||
</tables>
|
||||
|
||||
<conditions>
|
||||
<condition operation="equal" column="member_srl" var="member_srl" notnull="notnull" filter="number" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue