Closed (fixed)
Project:
Flag
Version:
6.x-2.x-dev
Component:
Flag core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2009 at 07:42 UTC
Updated:
22 Jan 2010 at 16:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchThanks Amitaibu, though running the update function on the flag probably isn't want we want. Instead I just set $flag->api_version = FLAG_API_VERSION; manually.
Comment #2
amitaibuI think that passing through the uodate function is a better - as it centralizes all the actions that should be taken before exporting a flag.
Comment #3
quicksketchThe update function is intended to migrate 1.x flags to 2.x. When exporting, the flags should already be in the 2.x format. Even though the update function sets the API version too, it's only done so that Flag can discern that the flag has passed through the update.