The locale module has been marked as a dependency on this module.
However, no function from locale appears to be used. If this is indeed the case, the dependency can be removed.
Please confirm ?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | remove_locale.patch | 1.15 KB | alansaviolobo |
Comments
Comment #2
cmak commentedHi,
Locale module is a dependency. We have used country_get_list function in the install file to load all countries into the country selection field. Hope this helps.
Thanks.
Comment #3
alansaviolobo commentedcountry_get_list is defined in inc/locale.inc and not in locale.module.
This module would work even if locale was not enabled.
Comment #4
alansaviolobo commentedComment #5
cmak commentedHi,
In Locale module, that locale.inc is include. "country_get_list" function is used in inc/country_specific_nodes.admin.inc as well.
The dependency can be removed, but instead of that we will need to include the locale.inc file everywhere in the code.
Thanks.
Comment #6
alansaviolobo commentedI believe this would solve the problem.
Comment #10
cmak commentedHi,
I have manually included the required inc file wherever needed to avoid any errors during installation. +1 credit to you for pointing out this.
Thanks.
Comment #11
cmak commentedClosing.