mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fix building manifest before database is created
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47831 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
56e46683f7
commit
5529aa2e5f
@ -313,7 +313,7 @@ class ManifestBuilder {
|
||||
self::parse_file($file);
|
||||
}
|
||||
|
||||
$tables = DB::getConn()->tableList();
|
||||
$tables = DB::isActive() ? DB::getConn()->tableList() : array();
|
||||
|
||||
$allClasses["parents"] = self::find_parents();
|
||||
$allClasses["children"] = self::find_children();
|
||||
@ -508,4 +508,4 @@ class ManifestBuilder {
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user