| @@ 1192-1197 (lines=6) @@ | ||
| 1189 | $storage[$classPath[1]] = []; |
|
| 1190 | } |
|
| 1191 | if ($id) { |
|
| 1192 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1193 | if ($item[$col] == $id) { |
|
| 1194 | $storage[$classPath[1]][$key] = $this->_params; |
|
| 1195 | break; |
|
| 1196 | } |
|
| 1197 | } |
|
| 1198 | } else { |
|
| 1199 | $id = !empty($storage['scheme'][$classPath[1]]['ai']) ? $storage['scheme'][$classPath[1]]['ai'] : 1; |
|
| 1200 | $this->$col = $id; |
|
| @@ 1394-1400 (lines=7) @@ | ||
| 1391 | if (empty($storage[$classPath[1]])) { |
|
| 1392 | $storage[$classPath[1]] = []; |
|
| 1393 | } |
|
| 1394 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1395 | ||
| 1396 | if ($item[$col] == $id) { |
|
| 1397 | unset($storage[$classPath[1]][$key]); |
|
| 1398 | break; |
|
| 1399 | } |
|
| 1400 | } |
|
| 1401 | if (!empty($moduleConfig['storage']['appTypeSplit'])) { |
|
| 1402 | $moduleConfig['storage'][$appType] = $storage; |
|
| 1403 | } else { |
|