| @@ 1410-1415 (lines=6) @@ | ||
| 1407 | $storage[$classPath[1]] = []; |
|
| 1408 | } |
|
| 1409 | if ($id) { |
|
| 1410 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1411 | if ($item[$col] == $id) { |
|
| 1412 | $storage[$classPath[1]][$key] = $this->_params; |
|
| 1413 | break; |
|
| 1414 | } |
|
| 1415 | } |
|
| 1416 | } else { |
|
| 1417 | $id = !empty($storage['scheme'][$classPath[1]]['ai']) ? $storage['scheme'][$classPath[1]]['ai'] : 1; |
|
| 1418 | $this->$col = $id; |
|
| @@ 1616-1622 (lines=7) @@ | ||
| 1613 | if (empty($storage[$classPath[1]])) { |
|
| 1614 | $storage[$classPath[1]] = []; |
|
| 1615 | } |
|
| 1616 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1617 | ||
| 1618 | if ($item[$col] == $id) { |
|
| 1619 | unset($storage[$classPath[1]][$key]); |
|
| 1620 | break; |
|
| 1621 | } |
|
| 1622 | } |
|
| 1623 | if (!empty($moduleConfig['storage']['appTypeSplit'])) { |
|
| 1624 | $moduleConfig['storage'][$appType] = $storage; |
|
| 1625 | } else { |
|