|
@@ 110-114 (lines=5) @@
|
| 107 |
|
$updateActions = array('clear_table', 'add', 'change', 'create_table'); |
| 108 |
|
$removeActions = array('change', 'drop', 'change_table', 'drop_table'); |
| 109 |
|
|
| 110 |
|
foreach ($updateActions as $updateAction) { |
| 111 |
|
if (isset($update[$updateAction]) && is_array($update[$updateAction])) { |
| 112 |
|
$tmpKeys[] = array_keys($update[$updateAction]); |
| 113 |
|
} |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
foreach ($removeActions as $removeAction) { |
| 117 |
|
if (isset($remove[$removeAction]) && is_array($remove[$removeAction])) { |
|
@@ 116-120 (lines=5) @@
|
| 113 |
|
} |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
foreach ($removeActions as $removeAction) { |
| 117 |
|
if (isset($remove[$removeAction]) && is_array($remove[$removeAction])) { |
| 118 |
|
$tmpKeys[] = array_keys($remove[$removeAction]); |
| 119 |
|
} |
| 120 |
|
} |
| 121 |
|
|
| 122 |
|
$finalKeys = array(); |
| 123 |
|
foreach ($tmpKeys as $keys) { |