You are here

function tinymce_profile_delete in TinyMCE 6

Same name and namespace in other branches
  1. 5.2 tinymce.module \tinymce_profile_delete()
  2. 5 tinymce.module \tinymce_profile_delete()
  3. 6.2 tinymce.admin.inc \tinymce_profile_delete()

Remove a profile from the database.

1 call to tinymce_profile_delete()
tinymce_admin in ./tinymce.admin.inc
Controller for tinymce administrative settings.

File

./tinymce.admin.inc, line 498
Admin interface for TinyMCE module.

Code

function tinymce_profile_delete($name) {
  db_query("DELETE FROM {tinymce_settings} WHERE name = '%s'", $name);
  db_query("DELETE FROM {tinymce_role} WHERE name = '%s'", $name);
}