function shurly_confirm_delete_form_submit in ShURLy 6
Same name and namespace in other branches
- 7 shurly.module \shurly_confirm_delete_form_submit()
Submit handler for above form
File
- ./
shurly.module, line 170 - description http://www.youtube.com/watch?v=Qo7qoonzTCE
Code
function shurly_confirm_delete_form_submit($form, &$form_state) {
drupal_set_message(t('URL has been deactivated'));
shurly_set_link_active($form_state['values']['rid'], 0);
}