Commit cfc8a613 by Qiang Xue

minor fix.

parent 5b383008
......@@ -46,9 +46,7 @@ class InitDbFixture extends DbFixture
*/
public function beforeLoad()
{
foreach ($this->schemas as $schema) {
$this->checkIntegrity(false, $schema);
}
$this->checkIntegrity(false);
}
/**
......@@ -56,9 +54,7 @@ class InitDbFixture extends DbFixture
*/
public function afterLoad()
{
foreach ($this->schemas as $schema) {
$this->checkIntegrity(true, $schema);
}
$this->checkIntegrity(true);
}
/**
......@@ -77,9 +73,7 @@ class InitDbFixture extends DbFixture
*/
public function beforeUnload()
{
foreach ($this->schemas as $schema) {
$this->checkIntegrity(false, $schema);
}
$this->checkIntegrity(false);
}
/**
......@@ -87,9 +81,7 @@ class InitDbFixture extends DbFixture
*/
public function afterUnload()
{
foreach ($this->schemas as $schema) {
$this->checkIntegrity(true, $schema);
}
$this->checkIntegrity(true);
}
/**
......
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