#117 | foreach($navigate as $k=>$v) { |
#118 | if($v['cid'] == $cid) unset($navigate[$k]); |
#119 | if(isset($v['son'])) { |
#120 | foreach($v['son'] as $k2=>$v2) { |
#121 | if($v2['cid'] == $cid) unset($navigate[$k]['son'][$k2]); |
#122 | } |
#123 | } |
#124 | } |
#125 | $this->kv->set($nav_key, $navigate); |
#126 | } |