pyrocms/pyrocms — pull request #1962 by chadwithuhc (2012-10-17 21:06:28+00:00)
Title: Show / Hide Dashboard items if modules disabled

Added or modified functions to Modules Model for
`exists()`,`installed()`,`enabled()`. Set the dashboard to check these
before outputting links or widgets to a disabled module. This prevents any disabled modules from showing and crowding the dashboard.

I also standardized `$module` to be the array or module object while `$slug` is just the slug string of the module. They were being used interchangeably.