Commit cfc8a613 by Qiang Xue

minor fix.

parent 5b383008
...@@ -46,9 +46,7 @@ class InitDbFixture extends DbFixture ...@@ -46,9 +46,7 @@ class InitDbFixture extends DbFixture
*/ */
public function beforeLoad() public function beforeLoad()
{ {
foreach ($this->schemas as $schema) { $this->checkIntegrity(false);
$this->checkIntegrity(false, $schema);
}
} }
/** /**
...@@ -56,9 +54,7 @@ class InitDbFixture extends DbFixture ...@@ -56,9 +54,7 @@ class InitDbFixture extends DbFixture
*/ */
public function afterLoad() public function afterLoad()
{ {
foreach ($this->schemas as $schema) { $this->checkIntegrity(true);
$this->checkIntegrity(true, $schema);
}
} }
/** /**
...@@ -77,9 +73,7 @@ class InitDbFixture extends DbFixture ...@@ -77,9 +73,7 @@ class InitDbFixture extends DbFixture
*/ */
public function beforeUnload() public function beforeUnload()
{ {
foreach ($this->schemas as $schema) { $this->checkIntegrity(false);
$this->checkIntegrity(false, $schema);
}
} }
/** /**
...@@ -87,9 +81,7 @@ class InitDbFixture extends DbFixture ...@@ -87,9 +81,7 @@ class InitDbFixture extends DbFixture
*/ */
public function afterUnload() public function afterUnload()
{ {
foreach ($this->schemas as $schema) { $this->checkIntegrity(true);
$this->checkIntegrity(true, $schema);
}
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment