Closed (fixed)
Project:
Flag
Version:
6.x-2.x-dev
Component:
Flag core
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Sep 2009 at 03:37 UTC
Updated:
12 Oct 2009 at 03:50 UTC
This is related to #322034: Have a $flag->access() method, which I discovered while working on #285237: Ability to disallow a flag/unflag operation. It looks like we're calling hook_flag_access_multiple() once for *every* piece of content being checked, rather than calling it once and merging in Flag's default checking. This patch corrects this extremely inefficient behavior.
| Comment | File | Size | Author |
|---|---|---|---|
| flag_access_efficiency.patch | 5.91 KB | quicksketch |
Comments
Comment #1
quicksketchCommitted.