function serviceDeleteProfileAlbums($iProfileId)
{
if (!$iProfileId) {
return false;
}
$aDataEntries = $this->oAlbums->getAlbumList(array('owner' => $iProfileId, 'status' => 'any', 'show_empty' => true), 0, 0, true);
foreach ($aDataEntries as $aValue) {
$this->oAlbums->removeAlbum($aValue['ID']);
}
}