You are here

function invoice_update_4 in Invoice 6

Implementation of hook_update_N()

This update fixes a privacy issue

Return value

array Array with query results

File

./invoice.install, line 211

Code

function invoice_update_4() {
  _make_sure_node_promote_flag_is_off();

  // Make already created invoice nodes secure
  db_query("UPDATE {node} SET promote=0 WHERE type='invoice'");
  return array();
}