Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae07b1
)
MDL-21146 removing incorrect license defaults, setup.php is not the right place for...
author
Petr Skoda
<skodak@moodle.org>
Sat, 10 Apr 2010 19:52:57 +0000
(19:52 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Sat, 10 Apr 2010 19:52:57 +0000
(19:52 +0000)
lib/setup.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/setup.php
b/lib/setup.php
index
3cd6101
..
85a207c
100644
(file)
--- a/
lib/setup.php
+++ b/
lib/setup.php
@@
-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'));