public function deleteSubscription( $email, $contentObjectID, $languageID )
    {
        $subscriber = ezcomSubscriber::fetchByEmail( $email );
        $cond = array();
        $cond['subscriber_id'] = $subscriber->attribute( 'id' );
        $cond['content_id'] = $contentObjectID;
        $cond['language_id'] = $languageID;
        $cond['subscription_type'] = 'ezcomcomment';
        $subscription = ezcomSubscription::fetchByCond( $cond );
        $subscription->remove();
    }
public function deleteSubscription( $email, $contentObjectID, $languageID )
    {
        $subscriber = ezcomSubscriber::fetchByEmail( $email );
        $cond = array();
        $cond['subscriber_id'] = $subscriber->attribute( 'id' );
        $cond['content_id'] = $contentObjectID;
        $cond['language_id'] = $languageID;
        $cond['subscription_type'] = 'ezcomcomment';
        $subscription = ezcomSubscription::fetchByCond( $cond );
        $subscription->remove();
    }
public function deleteSubscription ( $ email , $ contentObjectID , $ languageID ) { $ subscriber = ezcomSubscriber :: fetchByEmail ( $ email ) ; $ cond = array ( ) ; $ cond [ 'subscriber_id' ] = $ subscriber -> attribute ( 'id' ) ; $ cond [ 'content_id' ] = $ contentObjectID ; $ cond [ 'language_id' ] = $ languageID ; $ cond [ 'subscription_type' ] = 'ezcomcomment' ; $ subscription = ezcomSubscription :: fetchByCond ( $ cond ) ; $ subscription -> remove ( ) ; }
delete the subscription given the subscriber's email
@param $email
@param $contentObjectID
@param $languageID
@return unknown_type
delete the subscription given the subscriber s email