herat/OpenLearn-Module-for-ATutor — pull request #1 by gregrgay (2012-04-13 19:31:55+00:00)
Title: add database update for ATutor installed module

Added a condition to the update_admin.php file that checks if the database has been populated yet, and if not then populate it using the parse.class.php method typically used when installing as an addon module.

This is a temporary fix to make it possible to update the database when the module is installed as part of the ATutor installation, rather than running the module_install.php file.

I'm guessing there is probably a better way to do this, so the db gets populate during installation, but this will do for now to get he OL module working on ATutorSpaces.