/** * Marks the favorite as Deleted * * @param int $iid * @param string $lid * @return Array */ public function execute() { $ret = Api_Bo_Favorites::deleteFavorite($this->getAppId(), $this->getUserId(), $this->iid, $this->alid, $this->lid); $response = array(); $response['result'] = $ret > 0 ? '1' : '0'; return $response; }