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