I am trying to find a way to delete a sub album and all items inside using the API.
deleteUserItems() is too much, it deletes all pictures and all albums.
deleteEntityById() would seem like the correct method, but it doesn't seem to work
i tried..
$ret = GalleryCoreApi::deleteEntityById($itemId);
where $itemID is the subalbum ID.
Please Help
Matt
Posts: 8601
that looks right.. if it didn't work, what was the error? ( print $ret->getAsHtml(); )