mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fixed reverting of database code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42998 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4d9e93460d
commit
fda211156a
@ -174,7 +174,6 @@ class ManifestBuilder {
|
||||
$manifest .= "\$_CSS_MANIFEST = " . var_export($cssManifest, true) . ";\n";
|
||||
DB::connect($databaseConfig);
|
||||
|
||||
if(DB::isActive()) {
|
||||
// Database manifest
|
||||
$allClasses = ManifestBuilder::allClasses($classManifest);
|
||||
|
||||
@ -182,11 +181,6 @@ class ManifestBuilder {
|
||||
|
||||
global $_ALL_CLASSES;
|
||||
$_ALL_CLASSES = $allClasses;
|
||||
} else {
|
||||
if(!isset($_REQUEST['from_installer']))
|
||||
echo '<li>Waiting until the database is created before compiling ' .
|
||||
'the manifest</li>';
|
||||
}
|
||||
|
||||
// Write manifest to disk
|
||||
$manifest = "<?php\n$manifest\n?>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user