You are here

function view_unpublished_update_6000 in view_unpublished 6

Make sure that the view_unpublished module runs after other access modules.

File

./view_unpublished.install, line 14

Code

function view_unpublished_update_6000() {
  $ret = array();
  $ret[] = update_sql("UPDATE {system} SET weight = 1 WHERE name = 'view_unpublished' AND type = 'module' AND weight = 0");
  return $ret;
}