| @@ 1391-1396 (lines=6) @@ | ||
| 1388 | $storage[$classPath[1]] = []; |
|
| 1389 | } |
|
| 1390 | if ($id) { |
|
| 1391 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1392 | if ($item[$col] == $id) { |
|
| 1393 | $storage[$classPath[1]][$key] = $this->_params; |
|
| 1394 | break; |
|
| 1395 | } |
|
| 1396 | } |
|
| 1397 | } else { |
|
| 1398 | $id = !empty($storage['scheme'][$classPath[1]]['ai']) ? $storage['scheme'][$classPath[1]]['ai'] : 1; |
|
| 1399 | $this->$col = $id; |
|
| @@ 1593-1599 (lines=7) @@ | ||
| 1590 | if (empty($storage[$classPath[1]])) { |
|
| 1591 | $storage[$classPath[1]] = []; |
|
| 1592 | } |
|
| 1593 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1594 | ||
| 1595 | if ($item[$col] == $id) { |
|
| 1596 | unset($storage[$classPath[1]][$key]); |
|
| 1597 | break; |
|
| 1598 | } |
|
| 1599 | } |
|
| 1600 | if (!empty($moduleConfig['storage']['appTypeSplit'])) { |
|
| 1601 | $moduleConfig['storage'][$appType] = $storage; |
|
| 1602 | } else { |
|