You are here

function andromeda_slideshow_delete_slideshow in Andromeda Slideshow 7

Same name and namespace in other branches
  1. 7.2 andromeda_slideshow.module \andromeda_slideshow_delete_slideshow()

Deletes a slideshow from the database

Parameters

$sid: the slideshow sid

1 call to andromeda_slideshow_delete_slideshow()
andromeda_slideshow_delete_form_submit in includes/andromeda_slideshow.forms.inc
Submit handler for andromeda_slideshow_delete_form

File

./andromeda_slideshow.module, line 346
Slideshow for the Andromeda (http://drupal.org/project/andromeda) Theme

Code

function andromeda_slideshow_delete_slideshow($sid) {
  $result = db_delete('slideshows')
    ->condition('sid', $sid)
    ->execute();
  return $result;
}