Declare the dependency from profile.module
lavignej - August 26, 2008 - 01:09
| Project: | WeatherFacti -- from a weather.com xml feed |
| Version: | 6.x-1.9 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
You can install WeatherFacti without Profile enabled, but you get an error related to profile_load_profile() when accessing Blocks. Enabling Profile fixes this, so you might want to add
dependencies[] = "profile"
to weatherfacti.info

#1
The alternative is to change the code so it first checks if the module is enabled, if weatherfacti.module is able to work also without the other module.