Closed (fixed)
Project:
Book Manager
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2010 at 23:13 UTC
Updated:
4 Jan 2011 at 07:10 UTC
Just in case OG, OG Access and OG Access Roles outlive the maintainership of Book Manager we should allow them to supply their own hook_book_manager_batch_operate() functions without having a namespace collision.
Maybe don't need to check for module_exists() in the attached patch?
| Comment | File | Size | Author |
|---|---|---|---|
| book-manager-batch-function-exists.patch | 1.5 KB | marcp |
Comments
Comment #1
jgraham commentedlooks good commited to DRUPAL-6--2 and HEAD.
I left in the module_exists as it doesn't make sense to define those functions if the corresponding module is not enabled. That is, if we don't have to let's not invoke the batch API.