You are here

function ad_delete_multiple in Advertisement 7.2

Deletes multiple ads by ID.

Parameters

$aids: An array of ad IDs to delete.

Return value

TRUE on success, FALSE otherwise.

1 call to ad_delete_multiple()
ad_delete in ./ad.module
Deletes an ad by ID.

File

./ad.module, line 350
Defines the core ad entity, including the entity itself, the bundle definitions (ad types), and various API functions to manage ads and interact with them through forms and autocompletes.

Code

function ad_delete_multiple($aids) {
  return entity_get_controller('ad')
    ->delete($aids);
}