You are here

function exclude_node_title_install in Exclude Node Title 6

Same name and namespace in other branches
  1. 8 exclude_node_title.install \exclude_node_title_install()
  2. 7 exclude_node_title.install \exclude_node_title_install()

File

./exclude_node_title.install, line 6

Code

function exclude_node_title_install() {

  // by default all users will have permission to use exclude node title
  db_query("UPDATE {permission} p SET p.perm = TRIM(LEADING ', ' FROM CONCAT(p.perm, ', use exclude node title'))");
}