After updating the module to 7.x-1.x-dev and running update.php the following error message is thrown:

PHP Fatal error:  Cannot redeclare system_update_last_removed() (previously declared in /var/www/html/cm7/sites/all/modules/announcements/announcements.install:87) in /var/www/html/cm7/modules/system/system.install on line 1680

I renamed this "hook_update_last_removed" function to announcements_update_last_removed and the error did not occur anymore.

Comments

nancydru’s picture

That's the correct thing to do. But you will find that the module does not function yet.

nancydru’s picture

Status: Active » Fixed

Thanks for the report

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.