group/db isn't a source of xml files anymore. MDL-11431

This commit is contained in:
stronk7 2007-09-24 22:32:31 +00:00
parent 126984a047
commit e4a2d75456

View File

@ -153,15 +153,7 @@ class get_db_directories extends XMLDBAction {
$XMLDB->dbdirs[$dbdir->path]->path_exists = file_exists($dbdir->path); //Update status
}
}
/// Now, groups
$dbdir = new stdClass;
$dbdir->path = $CFG->dirroot . '/group/db';
if (!isset($XMLDB->dbdirs[$dbdir->path])) {
$XMLDB->dbdirs[$dbdir->path] = $dbdir;
}
$XMLDB->dbdirs[$dbdir->path]->path_exists = file_exists($dbdir->path); //Update status
/// Sort by key
ksort($XMLDB->dbdirs);