Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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!