function ckeditor_profile_delete in CKEditor - WYSIWYG HTML editor 7
Same name and namespace in other branches
- 6 includes/ckeditor.admin.inc \ckeditor_profile_delete()
Remove a profile from the database.
3 calls to ckeditor_profile_delete()
- ckeditor_admin_global_profile_form_submit in includes/
ckeditor.admin.inc - Submit form for a global profile
- ckeditor_admin_profile_delete_form_submit in includes/
ckeditor.admin.inc - Submit form for a profile delete
- ckeditor_admin_profile_form_submit in includes/
ckeditor.admin.inc - Form submit for a profile
File
- includes/
ckeditor.admin.inc, line 1825 - CKEditor - The text editor for the Internet - http://ckeditor.com Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
Code
function ckeditor_profile_delete($name) {
db_delete('ckeditor_settings')
->condition('name', $name)
->execute();
db_delete('ckeditor_input_format')
->condition('name', $name)
->execute();
}