Avoid NOW() in add_course.lib.inc.php
In the function that creates the demo content (and a few other functions), there are a lot of NOW in use for the SQL queries. This could trigger a considerable confusion when filling a portal. For the first few hours, content could appear as created hours before or after.
Updated by Julio Montoya almost 7 years ago
- Target version changed from 1.9.4 to 2.0
I moved the functions from add_course.lib.inc.php to in course.lib.php and install.lib.php, because we have only 1 database structure so the script will be executed only 1 time. This changes were added in the 1.10 branch