Commit d150b422 authored by dragonwize's avatar dragonwize
Browse files

Minor permission install changes.

parent 24a34382
......@@ -77,7 +77,7 @@ function better_formats_install() {
}
// Set default perms to be like core defaults.
$default_perms = ',show format selection,show format tips,show more format tips link,collapsible format selection,collapse format fieldset by default';
$default_perms = ', show format selection, show format tips, show more format tips link, collapsible format selection, collapse format fieldset by default';
// Get current core perms.
$sql = "SELECT *
FROM {permission}
......@@ -94,6 +94,9 @@ function better_formats_install() {
WHERE pid = %d";
db_query($sql, $perms->perm . $default_perms, $perms->pid);
}
// Clear the cached pages
cache_clear_all();
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment