You are here

function ckeditor_profile_delete in CKEditor - WYSIWYG HTML editor 6

Same name and namespace in other branches
  1. 7 includes/ckeditor.admin.inc \ckeditor_profile_delete()

Remove a profile from the database.

1 call to ckeditor_profile_delete()
ckeditor_admin_profile_delete_form_submit in includes/ckeditor.admin.inc

File

includes/ckeditor.admin.inc, line 2157
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_query("DELETE FROM {ckeditor_settings} WHERE name = '%s'", $name);
  db_query("DELETE FROM {ckeditor_role} WHERE name = '%s'", $name);
}