Conditions | 5 |
Paths | 6 |
Total Lines | 22 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
1 | <?php |
||
14 | { |
||
15 | /** |
||
16 | * @param Result $result |
||
17 | * @param Varien_Db_Adapter_Interface $dbAdapter |
||
18 | * @return void |
||
19 | */ |
||
20 | protected function checkImplementation(Result $result, Varien_Db_Adapter_Interface $dbAdapter) |
||
21 | { |
||
22 | $innodbFound = $this->checkInnodbEngine($dbAdapter); |
||
23 | |||
24 | if ($innodbFound) { |
||
25 | $result->setStatus(Result::STATUS_OK); |
||
26 | $result->setMessage("<info>Required MySQL Storage Engine <comment>InnoDB</comment> found.</info>"); |
||
27 | } else { |
||
28 | $result->setStatus(Result::STATUS_ERROR); |
||
29 | $result->setMessage( |
||
30 | "<error>Required MySQL Storage Engine <comment>InnoDB</comment> not found!</error>" |
||
31 | ); |
||
32 | } |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param Varien_Db_Adapter_Interface $dbAdapter |
||
55 |