public function deleteBlockById($blockIds)
{
if (!$blockIds) {
return false;
}
if (!is_array($blockIds)) {
$blockIds = [$blockIds];
}
// Pass this along to ElementsService for the heavy lifting
return craft()->elements->deleteElementById($blockIds);
}