Closed (fixed)
Project:
Drupal Queue
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
8 Dec 2009 at 12:03 UTC
Updated:
23 Dec 2009 at 15:30 UTC
In Lieu of the auto class loading what is in Drupal 7 here is a minor patch that gives a hook to allow the loading of additional classes to be included.
I added this in so that when I backported my beanstalkd to D6 it will now work.
| Comment | File | Size | Author |
|---|---|---|---|
| 0001-Add-module_invoke_all-to-allow-the-loading-of-other-.patch | 719 bytes | gordon |
Comments
Comment #1
alex_b commentedSeems reasonable.
Have you had a look at http://drupal.org/project/autoload ? I am asking without having actually reviewed autoload.
Would using autoload be an alternative to this patch? If so, why would we or would we not use it for drupal_queue in this instance?
Comment #2
gordon commentedI had not actually see it, but then again using a whole module to replace a single line in this module I think is a bit of overkill.
and also for how long this module is really going to be used, just having a single hook will make it easy to do some profiling of the queues with more real world data which is why I have backported my beanstalkd module from Drupal 7
Comment #3
alex_b commented#2: Thanks for elaborating. I wanted to know whether you had a specific technical reason why you didn't use autoload.
Will commit in a bit.
Comment #4
alex_b commentedCommitted. Thanks.
http://drupal.org/cvs?commit=299918