MDL-21146 removing incorrect license defaults, setup.php is not the right place for...
authorPetr Skoda <skodak@moodle.org>
Sat, 10 Apr 2010 19:52:57 +0000 (19:52 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 10 Apr 2010 19:52:57 +0000 (19:52 +0000)
lib/setup.php

index 3cd6101..85a207c 100644 (file)
@@ -260,10 +260,6 @@ if (!isset($CFG->prefix)) {   // Just in case it isn't defined in config.php
     $CFG->prefix = '';
 }
 
-if (empty($CFG->sitedefaultlicense)) {
-    $CFG->sitedefaultlicense = 'allrightsreserved';
-}
-
 //point pear include path to moodles lib/pear so that includes and requires will search there for files before anywhere else
 //the problem is that we need specific version of quickforms and hacked excel files :-(
 ini_set('include_path', $CFG->libdir.'/pear' . PATH_SEPARATOR . ini_get('include_path'));