Closed (fixed)
Project:
Flag
Version:
8.x-4.x-dev
Component:
Flag core
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 May 2015 at 21:36 UTC
Updated:
28 May 2015 at 08:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gnugetPatch attached.
Comment #2
joachim commentedThanks for the patch!
Let's see what the testbot says...
Comment #3
berdirUhm ;)
#1577902: [META] Remove all usages of drupal_static() & drupal_static_reset()
drupal_static() shouldn't be used in services. Which means that some way to reset it is often necessary, but usually in the form of a separate method. It's also usually only necessary for tests.
Comment #4
joachim commentedThanks for the info!
We can still fix this issue as is though, and then move on to changing drupal_static() calls in new one.
Comment #5
joachim commentedFiled #2488458: remove calls to drupal_static().
Comment #6
joachim commentedTests pass, patch looks good.
Committed, and I'm about to update the CR. EDIT: which doesn't mention the $reset at all, so it's ok already.
Thanks!