Closed (fixed)
Project:
Entityqueue
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2012 at 18:17 UTC
Updated:
21 Jul 2012 at 22:21 UTC
Jump to comment: Most recent file
The ctools branch is awesome! But, it requires php 5.3 due to the use of the function() {} syntax for anonymous functions. Out of the hundreds of modules that we use frequently with Drupal 7 sites, this is the only one that absolutely requires PHP 5.3. An we use create_function instead? It would do the same thing (I think), but wouldn't force the requirement of PHP 5.3.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1672864-entityqueue-ctools-php-compatability.patch | 965 bytes | mrfelton |
Comments
Comment #1
mrfelton commentedHere you go, pretty sure this does exactly the same thing but using
create_function()instead. Now we don't need 2 versions of PHP on servers!Comment #2
amateescu commentedNice catch, committed to 7.x-1.x-ctools. Thanks :)
http://drupalcode.org/sandbox/amateescu/1429904.git/commit/f34c421