function privatemsg_update_6002 in Privatemsg 6
Same name and namespace in other branches
- 6.2 privatemsg.install \privatemsg_update_6002()
File
- ./
privatemsg.install, line 410 - Install file for privatemsg.module
Code
function privatemsg_update_6002() {
$ret = array();
// update_sql does not support parameters, we need to use db_query
$sql = "UPDATE {blocks} SET cache = %d WHERE module='privatemsg'";
$result = db_query($sql, BLOCK_NO_CACHE);
$ret[] = array(
'success' => $result !== FALSE,
'query' => check_plain($sql),
);
return $ret;
}