MDL-21146 adding missing license install code
authorPetr Skoda <skodak@moodle.org>
Tue, 30 Mar 2010 19:59:54 +0000 (19:59 +0000)
committerPetr Skoda <skodak@moodle.org>
Tue, 30 Mar 2010 19:59:54 +0000 (19:59 +0000)
lib/db/install.php

index fdd92de..b3748cd 100644 (file)
@@ -218,4 +218,8 @@ function xmldb_main_install() {
 
     // init themes
     set_config('themerev', 1);
+
+    // Install licenses
+    require_once($CFG->libdir . '/licenselib.php');
+    license_manager::install_licenses();
 }