| @@ 1182-1187 (lines=6) @@ | ||
| 1179 | $storage[$classPath[1]] = []; |
|
| 1180 | } |
|
| 1181 | if ($id) { |
|
| 1182 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1183 | if ($item[$col] == $id) { |
|
| 1184 | $storage[$classPath[1]][$key] = $this->_params; |
|
| 1185 | break; |
|
| 1186 | } |
|
| 1187 | } |
|
| 1188 | } else { |
|
| 1189 | $id = !empty($storage['scheme'][$classPath[1]]['ai']) ? $storage['scheme'][$classPath[1]]['ai'] : 1; |
|
| 1190 | $this->$col = $id; |
|
| @@ 1384-1390 (lines=7) @@ | ||
| 1381 | if (empty($storage[$classPath[1]])) { |
|
| 1382 | $storage[$classPath[1]] = []; |
|
| 1383 | } |
|
| 1384 | foreach ($storage[$classPath[1]] as $key => $item) { |
|
| 1385 | ||
| 1386 | if ($item[$col] == $id) { |
|
| 1387 | unset($storage[$classPath[1]][$key]); |
|
| 1388 | break; |
|
| 1389 | } |
|
| 1390 | } |
|
| 1391 | if (!empty($moduleConfig['storage']['appTypeSplit'])) { |
|
| 1392 | $moduleConfig['storage'][$appType] = $storage; |
|
| 1393 | } else { |
|