function tinymce_profile_delete in TinyMCE 5
Same name and namespace in other branches
- 5.2 tinymce.module \tinymce_profile_delete()
- 6.2 tinymce.admin.inc \tinymce_profile_delete()
- 6 tinymce.admin.inc \tinymce_profile_delete()
Remove a profile from the database.
1 call to tinymce_profile_delete()
- tinymce_admin in ./
tinymce.module - Controller for tinymce administrative settings.
File
- ./
tinymce.module, line 634 - Integrate the TinyMCE editor (http://tinymce.moxiecode.com/) into Drupal.
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);
}