public function deleteEventAlbum($albumId)
    {
        if (is_null($albumId) || $albumId == '') {
            throw new Exception('The albumId is required to delete an album.');
        }

        $params = array(
            'method' => 'sp.album.delete',
            'album_id' => $albumId
        );

        return $this->_makeApiRequest($params);
    }
public function deleteEventAlbum($albumId)
    {
        if (is_null($albumId) || $albumId == '') {
            throw new Exception('The albumId is required to delete an album.');
        }

        $params = array(
            'method' => 'sp.album.delete',
            'album_id' => $albumId
        );

        return $this->_makeApiRequest($params);
    }
public function deleteEventAlbum ( $ albumId ) { if ( is_null ( $ albumId ) || $ albumId == '' ) { throw new Exception ( 'The albumId is required to delete an album.' ) ; } $ params = array ( 'method' => 'sp.album.delete' , 'album_id' => $ albumId ) ; return $ this -> _makeApiRequest ( $ params ) ; }
Method to delete an album

@param integer $albumId
@return array
Method to delete an album