| @@ 1300-1313 (lines=14) @@ | ||
| 1297 | } |
|
| 1298 | ||
| 1299 | ||
| 1300 | protected function _delete_categories() { |
|
| 1301 | $cat_ids = isset( $this->_req_data['VEN_CAT_ID'] ) ? (array) $this->_req_data['VEN_CAT_ID'] : (array) $this->_req_data['category_id']; |
|
| 1302 | ||
| 1303 | foreach ( $cat_ids as $cat_id ) { |
|
| 1304 | $this->_delete_category($cat_id); |
|
| 1305 | } |
|
| 1306 | ||
| 1307 | //doesn't matter what page we're coming from... we're going to the same place after delete. |
|
| 1308 | $query_args = array( |
|
| 1309 | 'action' => 'category_list' |
|
| 1310 | ); |
|
| 1311 | $this->_redirect_after_action(0,'','',$query_args); |
|
| 1312 | ||
| 1313 | } |
|
| 1314 | ||
| 1315 | ||
| 1316 | ||
| @@ 2192-2205 (lines=14) @@ | ||
| 2189 | } |
|
| 2190 | ||
| 2191 | ||
| 2192 | protected function _delete_categories() { |
|
| 2193 | $cat_ids = isset( $this->_req_data['EVT_CAT_ID'] ) ? (array) $this->_req_data['EVT_CAT_ID'] : (array) $this->_req_data['category_id']; |
|
| 2194 | ||
| 2195 | foreach ( $cat_ids as $cat_id ) { |
|
| 2196 | $this->_delete_category($cat_id); |
|
| 2197 | } |
|
| 2198 | ||
| 2199 | //doesn't matter what page we're coming from... we're going to the same place after delete. |
|
| 2200 | $query_args = array( |
|
| 2201 | 'action' => 'category_list' |
|
| 2202 | ); |
|
| 2203 | $this->_redirect_after_action(0,'','',$query_args); |
|
| 2204 | ||
| 2205 | } |
|
| 2206 | ||
| 2207 | ||
| 2208 | ||