| @@ 1401-1406 (lines=6) @@ | ||
| 1398 | $storage[$classPath[1]] = []; |
|
| 1399 | } |
|
| 1400 | if ($id) { |
|
| 1401 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1402 | if ($item[$col] == $id) { |
|
| 1403 | $storage[$classPath[1]][$key] = $this->_params; |
|
| 1404 | break; |
|
| 1405 | } |
|
| 1406 | } |
|
| 1407 | } else { |
|
| 1408 | $id = !empty($storage['scheme'][$classPath[1]]['ai']) ? $storage['scheme'][$classPath[1]]['ai'] : 1; |
|
| 1409 | $this->$col = $id; |
|
| @@ 1603-1609 (lines=7) @@ | ||
| 1600 | if (empty($storage[$classPath[1]])) { |
|
| 1601 | $storage[$classPath[1]] = []; |
|
| 1602 | } |
|
| 1603 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1604 | ||
| 1605 | if ($item[$col] == $id) { |
|
| 1606 | unset($storage[$classPath[1]][$key]); |
|
| 1607 | break; |
|
| 1608 | } |
|
| 1609 | } |
|
| 1610 | if (!empty($moduleConfig['storage']['appTypeSplit'])) { |
|
| 1611 | $moduleConfig['storage'][$appType] = $storage; |
|
| 1612 | } else { |
|