Published in: eZ Publish
<?php include_once("kernel/classes/datatypes/ezuser/ezusersetting.php"); $existUser=ezUser::currentUser(); if( $existUser ) { $userId =& $existUser->id(); eZUser::removeUser( $userId ); } $userContentObject =& $existUser->contentObject(); eZContentObjectTreeNode::removeSubtrees( array($userContentObject->attribute("main_node_id")), false ); ezUser::logoutCurrent(); include_once( 'kernel/common/template.php' ); $tpl =& templateInit(); $Result[]=array(); $Result['content'] = $tpl->fetch( "design:cancelSubscripcion.tpl"); ?>
You need to login to post a comment.
