@@ 1444-1449 (lines=6) @@ | ||
1441 | $storage[$classPath[1]] = []; |
|
1442 | } |
|
1443 | if ($id) { |
|
1444 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
1445 | if ($item[$col] == $id) { |
|
1446 | $storage[$classPath[1]][$key] = $this->_params; |
|
1447 | break; |
|
1448 | } |
|
1449 | } |
|
1450 | } else { |
|
1451 | $id = !empty($storage['scheme'][$classPath[1]]['ai']) ? $storage['scheme'][$classPath[1]]['ai'] : 1; |
|
1452 | $this->$col = $id; |
|
@@ 1654-1660 (lines=7) @@ | ||
1651 | if (empty($storage[$classPath[1]])) { |
|
1652 | $storage[$classPath[1]] = []; |
|
1653 | } |
|
1654 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
1655 | ||
1656 | if ($item[$col] == $id) { |
|
1657 | unset($storage[$classPath[1]][$key]); |
|
1658 | break; |
|
1659 | } |
|
1660 | } |
|
1661 | if (!empty($moduleConfig['storage']['appTypeSplit'])) { |
|
1662 | $moduleConfig['storage'][$appType] = $storage; |
|
1663 | } else { |