[TYPO3-dev] Clearing mm-relations in direct mail subscriptions
Tapio Markula
tapio.markula at xetpoint.fi
Thu Jan 3 12:04:42 CET 2008
HI
I have tried to ask from direct-mail group but that fails because people
anwer seldom
After deleting account
df_direct_mail_subscription
doesn't delete relations from the table
'sys_dmail_ttaddress_category_mm'.
I try to add
function user_dmailsubscribe() {
$this->cObj = t3lib_div::makeInstance('tslib_cObj');
if(t3lib_div::_GP('cmd')=='delete' ||
(t3lib_div::_GP('cmd')=='setfixed' && t3lib_div::_GP('sFK')=='DELETE'))
$GLOBALS['TYPO3_DB']->exec_DELETEquery('sys_dmail_ttaddress_category_mm','uid_local='.intval(t3lib_div::_GP('rU')));
}
into class.dmailsubscribe.php
but that doesn't seem to work there. Where that could work?
the same concerns apparenly plugin 'direct_mail_subscription' -
class.dmailsubscribe.php is exactly the same.
More information about the TYPO3-dev
mailing list