You are here

function flag_views_bookmark_update_7 in Flag 6.2

Same name and namespace in other branches
  1. 5 includes/flag.views_bookmark.inc \flag_views_bookmark_update_7()
  2. 6 includes/flag.views_bookmark.inc \flag_views_bookmark_update_7()

Add the current user filter to every view using flag filters. Previously this was implied with all filters, now it is optional to increase the flexibility of flag.

For some reason Flag began providing a Node: Node ID argument in the 5.x port. Because this argument should be handled by Views' own node.inc file, update existing arguments to use that one instead.

File

includes/flag.views_bookmark.inc, line 274
Upgrade code to migrate from Views bookmark to Flag module.

Code

function flag_views_bookmark_update_7() {

  // Code from "Views Bookmark" for Drupal 5, which uses Views 1.x API, removed.
  return array();
}