Revert "Updating lib.php files to enable Announcement"

This reverts commit 2a5d355921f61ced08acb861b6244e58d52423c5.