function privatemsg_update_6005 in Privatemsg 6
Same name and namespace in other branches
- 6.2 privatemsg.install \privatemsg_update_6005()
Enable delete permission for all users that are allowed to read them.
File
- ./
privatemsg.install, line 474 - Install file for privatemsg.module
Code
function privatemsg_update_6005() {
$ret = array();
$ret[] = update_sql("UPDATE {permission} SET perm = REPLACE(perm, 'read privatemsg', 'read privatemsg, delete privatemsg') WHERE perm LIKE '%read privatemsg%'");
return $ret;
}