We moved the lock API to a PSR-0 class + procedural factory, and left the lock_*() functions in as a bc layer, but then never opened the follow-up issue to remove them, so here it is.
Need to:
- convert core to use lock()->$foo() instead of lock_*()
- remove all the lock_*() functions from lock.inc
- move lock() to bootstrap.inc
- git rm core/includes/lock.inc
Comment | File | Size | Author |
---|---|---|---|
#3 | lock-bc-1774134-3.patch | 21.38 KB | amateescu |
#1 | lock-bc-1774134-1.patch | 20.37 KB | larowlan |
Comments
Comment #1
larowlanfirst crack
Comment #3
amateescu CreditAttribution: amateescu commentedI was working on this as well :) Let's try this one.
Comment #4
larowlanmeh, missed the
calls
Comment #5
rbayliss CreditAttribution: rbayliss commentedLooks good to me. Patch applies, passes tests, and doesn't introduce any new functionality.
Comment #6
catchGreat. Committed/pushed to 8.x.
I opened #1786460: Add the lock API to the DIC as a follow-up and updated the change notification at http://drupal.org/node/1525118, so moving this straight to fixed.