You are here

function wysiwyg_profile_delete in Wysiwyg 6

Same name and namespace in other branches
  1. 5.2 wysiwyg.admin.inc \wysiwyg_profile_delete()
  2. 5 wysiwyg.admin.inc \wysiwyg_profile_delete()
  3. 6.2 wysiwyg.module \wysiwyg_profile_delete()
  4. 7.2 wysiwyg.module \wysiwyg_profile_delete()

Remove a profile from the database.

1 call to wysiwyg_profile_delete()
wysiwyg_profile_delete_confirm_submit in ./wysiwyg.admin.inc
Submit callback for Wysiwyg profile delete form.

File

./wysiwyg.admin.inc, line 514
Integrate Wysiwyg editors into Drupal.

Code

function wysiwyg_profile_delete($format) {
  db_query("DELETE FROM {wysiwyg} WHERE format = %d", $format);
}