libraries_get_path() uses a static variable, should use drupal_static()
| Comment | File | Size | Author |
|---|---|---|---|
| libraries-static.patch | 582 bytes | aaronbauman |
libraries_get_path() uses a static variable, should use drupal_static()
| Comment | File | Size | Author |
|---|---|---|---|
| libraries-static.patch | 582 bytes | aaronbauman |
Comments
Comment #1
tstoecklerNow that I think I have understood drupal_static() I'm pretty sure this is correct.
sun's call, though.
Comment #2
sunYes, good catch. Although it doesn't seem to affect our tests (yet), most statics should be replaced with drupal_static()s in D7.
Comment #3
tstoecklerhttp://drupal.org/cvs?commit=446336
Thanks very much for the patch!