@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | foreach($accommodation as $row_key => $row){ |
94 | 94 | if(stripos(ltrim(rtrim($row->name)), $post->post_title) !== false){ |
95 | 95 | $identifier = $row->id; |
96 | - }else{ |
|
96 | + } else{ |
|
97 | 97 | continue; |
98 | 98 | } |
99 | 99 | } |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | //remove the extra accommodation |
197 | 197 | if(null !== $current_accommodation && !empty($current_accommodation)){ |
198 | 198 | $all_accommodation = array_diff($this->format_array($all_accommodation,'ID'), $this->format_array($current_accommodation,'post_id')); |
199 | - }elseif(null !== $current_accommodation && empty($current_accommodation)){ |
|
199 | + } elseif(null !== $current_accommodation && empty($current_accommodation)){ |
|
200 | 200 | $all_accommodation = $this->format_array($current_accommodation,'post_id'); |
201 | 201 | } |
202 | 202 |
@@ -186,11 +186,11 @@ discard block |
||
186 | 186 | delete_post_meta($_POST['post_id'],'image_group'); |
187 | 187 | add_post_meta($_POST['post_id'],'image_group',$new_banner_array,true); |
188 | 188 | echo true; |
189 | - }else{ |
|
189 | + } else{ |
|
190 | 190 | echo false; |
191 | 191 | } |
192 | 192 | |
193 | - }else{ |
|
193 | + } else{ |
|
194 | 194 | echo false; |
195 | 195 | } |
196 | 196 | die(); |
@@ -250,8 +250,7 @@ discard block |
||
250 | 250 | if ( !empty( $filename) && " " != $filename ) |
251 | 251 | { |
252 | 252 | $file_array['name'] = $filename . "." . $url_type['ext']; // user given filename for title, add original URL extension |
253 | - } |
|
254 | - else |
|
253 | + } else |
|
255 | 254 | { |
256 | 255 | $file_array['name'] = $url_filename; // just use original URL filename |
257 | 256 | } |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | if(isset($_GET['tab']) || isset($_POST['type'])) { |
191 | 191 | if(isset($_GET['tab'])) { |
192 | 192 | $this->tab_slug = $_GET['tab']; |
193 | - }else{ |
|
193 | + } else{ |
|
194 | 194 | $this->tab_slug = $_POST['type']; |
195 | 195 | } |
196 | 196 | } |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | <?php } ?> |
379 | 379 | </ul> |
380 | 380 | <?php |
381 | - }else{ |
|
381 | + } else{ |
|
382 | 382 | $this->current_importer->display_page(); |
383 | 383 | }; ?> |
384 | 384 | </div> |
@@ -496,7 +496,7 @@ discard block |
||
496 | 496 | foreach($team_members->posts as $member){ ?> |
497 | 497 | <li><input class="team" <?php $this->checked($selected,$member); ?> type="checkbox" value="<?php echo $member; ?>" /> <?php echo get_the_title($member); ?></li> |
498 | 498 | <?php } |
499 | - }else{ ?> |
|
499 | + } else{ ?> |
|
500 | 500 | <li><input class="team" type="checkbox" value="0" /> <?php _e('None','wetu-importer'); ?></li> |
501 | 501 | <?php } |
502 | 502 | ?> |
@@ -561,7 +561,7 @@ discard block |
||
561 | 561 | if (in_array($needle, $haystack)) { |
562 | 562 | if(true === $wrap || 'true' === $wrap) { |
563 | 563 | $html = $type . '="' . $type . '"'; |
564 | - }else{ |
|
564 | + } else{ |
|
565 | 565 | $html = $type; |
566 | 566 | } |
567 | 567 | } |
@@ -613,7 +613,7 @@ discard block |
||
613 | 613 | |
614 | 614 | if(false !== $id && '0' !== $id && false !== $prev && true === $unique){ |
615 | 615 | update_post_meta($id,$meta_key,$value,$prev); |
616 | - }else{ |
|
616 | + } else{ |
|
617 | 617 | add_post_meta($id,$meta_key,$value,$unique); |
618 | 618 | } |
619 | 619 | } |
@@ -654,18 +654,15 @@ discard block |
||
654 | 654 | if ( is_wp_error($term) ) |
655 | 655 | { |
656 | 656 | echo $term->get_error_message(); |
657 | - } |
|
658 | - else |
|
657 | + } else |
|
659 | 658 | { |
660 | 659 | wp_set_object_terms( $id, intval($term['term_id']), $taxonomy,true); |
661 | 660 | } |
662 | - } |
|
663 | - else |
|
661 | + } else |
|
664 | 662 | { |
665 | 663 | wp_set_object_terms( $id, intval($term['term_id']), $taxonomy,true); |
666 | 664 | } |
667 | - } |
|
668 | - else |
|
665 | + } else |
|
669 | 666 | { |
670 | 667 | $result[]=trim($k); |
671 | 668 | } |
@@ -679,10 +676,8 @@ discard block |
||
679 | 676 | { |
680 | 677 | if(false !== $parent){ $parent = array('parent'=>$parent); } |
681 | 678 | $term = wp_insert_term(trim($name), $taxonomy,$parent); |
682 | - if ( is_wp_error($term) ){echo $term->get_error_message();} |
|
683 | - else { wp_set_object_terms( $id, intval($term['term_id']), $taxonomy,true); } |
|
684 | - } |
|
685 | - else |
|
679 | + if ( is_wp_error($term) ){echo $term->get_error_message();} else { wp_set_object_terms( $id, intval($term['term_id']), $taxonomy,true); } |
|
680 | + } else |
|
686 | 681 | { |
687 | 682 | wp_set_object_terms( $id, intval($term['term_id']), $taxonomy,true); |
688 | 683 | } |
@@ -702,7 +697,7 @@ discard block |
||
702 | 697 | foreach($terms as $term){ |
703 | 698 | $return .= '<li><input class="'.$taxonomy.'" '.$this->checked($selected,$term->term_id,false).' type="checkbox" value="'.$term->term_id.'" /> '.$term->name.'</li>'; |
704 | 699 | } |
705 | - }else{ |
|
700 | + } else{ |
|
706 | 701 | $return .= '<li><input type="checkbox" value="" /> '.__('None','wetu-importer').'</li>'; |
707 | 702 | } |
708 | 703 | $return .= '</ul>'; |
@@ -721,13 +716,13 @@ discard block |
||
721 | 716 | |
722 | 717 | if(isset($data[0]['position']['driving_latitude'])){ |
723 | 718 | $latitude = $data[0]['position']['driving_latitude']; |
724 | - }elseif(isset($data[0]['position']['latitude'])){ |
|
719 | + } elseif(isset($data[0]['position']['latitude'])){ |
|
725 | 720 | $latitude = $data[0]['position']['latitude']; |
726 | 721 | } |
727 | 722 | |
728 | 723 | if(isset($data[0]['position']['driving_longitude'])){ |
729 | 724 | $longitude = $data[0]['position']['driving_longitude']; |
730 | - }elseif(isset($data[0]['position']['longitude'])){ |
|
725 | + } elseif(isset($data[0]['position']['longitude'])){ |
|
731 | 726 | $longitude = $data[0]['position']['longitude']; |
732 | 727 | } |
733 | 728 | |
@@ -759,7 +754,7 @@ discard block |
||
759 | 754 | if(false !== $id && '0' !== $id){ |
760 | 755 | $prev = get_post_meta($id,'location',true); |
761 | 756 | update_post_meta($id,'location',$location_data,$prev); |
762 | - }else{ |
|
757 | + } else{ |
|
763 | 758 | add_post_meta($id,'location',$location_data,true); |
764 | 759 | } |
765 | 760 | } |
@@ -955,8 +950,7 @@ discard block |
||
955 | 950 | if ( !empty( $filename) && " " != $filename ) |
956 | 951 | { |
957 | 952 | $file_array['name'] = $filename . "." . $url_type['ext']; // user given filename for title, add original URL extension |
958 | - } |
|
959 | - else |
|
953 | + } else |
|
960 | 954 | { |
961 | 955 | $file_array['name'] = $url_filename; // just use original URL filename |
962 | 956 | } |
@@ -1029,7 +1023,7 @@ discard block |
||
1029 | 1023 | } |
1030 | 1024 | if(false !== $found && $needle_count === count($found)){ |
1031 | 1025 | return true; |
1032 | - }else{ |
|
1026 | + } else{ |
|
1033 | 1027 | return false; |
1034 | 1028 | } |
1035 | 1029 | } |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | |
238 | 238 | if(isset($accommodation['error'])){ |
239 | 239 | return $accommodation['error']; |
240 | - }elseif (isset($accommodation) && !empty($accommodation)) { |
|
240 | + } elseif (isset($accommodation) && !empty($accommodation)) { |
|
241 | 241 | set_transient('lsx_ti_accommodation',$accommodation,60*60*2); |
242 | 242 | return true; |
243 | 243 | } |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | |
262 | 262 | if(isset($_POST['keyword'] )) { |
263 | 263 | $keyphrases = $_POST['keyword']; |
264 | - }else{ |
|
264 | + } else{ |
|
265 | 265 | $keyphrases = array(0); |
266 | 266 | } |
267 | 267 | |
@@ -306,16 +306,16 @@ discard block |
||
306 | 306 | |
307 | 307 | if(0 !== $row['post_id']){ |
308 | 308 | continue; |
309 | - }else{ |
|
309 | + } else{ |
|
310 | 310 | $searched_items[sanitize_title($row['name']).'-'.$row['id']] = $this->format_row($row); |
311 | 311 | } |
312 | 312 | |
313 | 313 | |
314 | - }else{ |
|
314 | + } else{ |
|
315 | 315 | |
316 | 316 | if(0 === $row['post_id']){ |
317 | 317 | continue; |
318 | - }else{ |
|
318 | + } else{ |
|
319 | 319 | $current_status = get_post_status($row['post_id']); |
320 | 320 | if($current_status !== $post_status){ |
321 | 321 | continue; |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | $searched_items[sanitize_title($row['name']).'-'.$row['id']] = $this->format_row($row); |
326 | 326 | } |
327 | 327 | |
328 | - }else{ |
|
328 | + } else{ |
|
329 | 329 | //Search through each keyword. |
330 | 330 | foreach($keyphrases as $keyphrase){ |
331 | 331 | |
@@ -395,19 +395,19 @@ discard block |
||
395 | 395 | $wetu_id = $_POST['wetu_id']; |
396 | 396 | if(isset($_POST['post_id'])){ |
397 | 397 | $post_id = $_POST['post_id']; |
398 | - }else{ |
|
398 | + } else{ |
|
399 | 399 | $post_id = 0; |
400 | 400 | } |
401 | 401 | |
402 | 402 | if(isset($_POST['team_members'])){ |
403 | 403 | $team_members = $_POST['team_members']; |
404 | - }else{ |
|
404 | + } else{ |
|
405 | 405 | $team_members = false; |
406 | 406 | } |
407 | 407 | |
408 | 408 | if(isset($_POST['safari_brands'])){ |
409 | 409 | $safari_brands = $_POST['safari_brands']; |
410 | - }else{ |
|
410 | + } else{ |
|
411 | 411 | $safari_brands = false; |
412 | 412 | } |
413 | 413 | |
@@ -415,7 +415,7 @@ discard block |
||
415 | 415 | if(isset($_POST['content']) && is_array($_POST['content']) && !empty($_POST['content'])){ |
416 | 416 | $content = $_POST['content']; |
417 | 417 | add_option('wetu_importer_accommodation_settings',$content); |
418 | - }else{ |
|
418 | + } else{ |
|
419 | 419 | |
420 | 420 | $content = false; |
421 | 421 | } |
@@ -453,10 +453,10 @@ discard block |
||
453 | 453 | if(isset($data[0]['content']['extended_description'])) |
454 | 454 | { |
455 | 455 | $data_post_content = $data[0]['content']['extended_description']; |
456 | - }elseif(isset($data[0]['content']['general_description'])){ |
|
456 | + } elseif(isset($data[0]['content']['general_description'])){ |
|
457 | 457 | $data_post_content = $data[0]['content']['general_description']; |
458 | 458 | $content_used_general_description = true; |
459 | - }elseif(isset($data[0]['content']['teaser_description'])){ |
|
459 | + } elseif(isset($data[0]['content']['teaser_description'])){ |
|
460 | 460 | $data_post_content = $data[0]['content']['teaser_description']; |
461 | 461 | } |
462 | 462 | $post['post_content'] = wp_strip_all_tags($data_post_content); |
@@ -466,7 +466,7 @@ discard block |
||
466 | 466 | if(false !== $importable_content && in_array('excerpt',$importable_content)){ |
467 | 467 | if(isset($data[0]['content']['teaser_description'])){ |
468 | 468 | $data_post_excerpt = $data[0]['content']['teaser_description']; |
469 | - }elseif(isset($data[0]['content']['general_description']) && false === $content_used_general_description){ |
|
469 | + } elseif(isset($data[0]['content']['general_description']) && false === $content_used_general_description){ |
|
470 | 470 | $data_post_excerpt = $data[0]['content']['general_description']; |
471 | 471 | } |
472 | 472 | $post['post_excerpt'] = $data_post_excerpt; |
@@ -482,7 +482,7 @@ discard block |
||
482 | 482 | $id = wp_update_post($post); |
483 | 483 | $prev_date = get_post_meta($id,'lsx_wetu_modified_date',true); |
484 | 484 | update_post_meta($id,'lsx_wetu_modified_date',strtotime($data[0]['last_modified']),$prev_date); |
485 | - }else{ |
|
485 | + } else{ |
|
486 | 486 | |
487 | 487 | //Set the name |
488 | 488 | if(isset($data[0]['name'])){ |
@@ -646,10 +646,8 @@ discard block |
||
646 | 646 | if(!$term = term_exists(trim($data[0]['category']), 'accommodation-type')) |
647 | 647 | { |
648 | 648 | $term = wp_insert_term(trim($data[0]['category']), 'accommodation-type'); |
649 | - if ( is_wp_error($term) ){echo $term->get_error_message();} |
|
650 | - else { wp_set_object_terms( $id, intval($term['term_id']), 'accommodation-type',true); } |
|
651 | - } |
|
652 | - else |
|
649 | + if ( is_wp_error($term) ){echo $term->get_error_message();} else { wp_set_object_terms( $id, intval($term['term_id']), 'accommodation-type',true); } |
|
650 | + } else |
|
653 | 651 | { |
654 | 652 | wp_set_object_terms( $id, intval($term['term_id']), 'accommodation-type',true); |
655 | 653 | } |
@@ -708,14 +706,14 @@ discard block |
||
708 | 706 | |
709 | 707 | if(isset($data[0]['features']) && isset($data[0]['features']['rooms'])){ |
710 | 708 | $room_count = $data[0]['features']['rooms']; |
711 | - }else{ |
|
709 | + } else{ |
|
712 | 710 | $room_count = count($data[0]['rooms']); |
713 | 711 | } |
714 | 712 | |
715 | 713 | if(false !== $id && '0' !== $id){ |
716 | 714 | $prev_rooms = get_post_meta($id,'number_of_rooms',true); |
717 | 715 | update_post_meta($id,'number_of_rooms',$room_count,$prev_rooms); |
718 | - }else{ |
|
716 | + } else{ |
|
719 | 717 | add_post_meta($id,'number_of_rooms',$room_count,true); |
720 | 718 | } |
721 | 719 | } |
@@ -728,7 +726,7 @@ discard block |
||
728 | 726 | |
729 | 727 | if(!empty($data[0]['features']) && isset($data[0]['features']['star_authority'])){ |
730 | 728 | $rating_type = $data[0]['features']['star_authority']; |
731 | - }else{ |
|
729 | + } else{ |
|
732 | 730 | $rating_type = 'Unspecified2'; |
733 | 731 | } |
734 | 732 | $this->save_custom_field($rating_type,'rating_type',$id); |
@@ -257,10 +257,10 @@ discard block |
||
257 | 257 | if(!isset($_GET['refresh_tours'])){ |
258 | 258 | echo ' - <small><a href="'.admin_url('admin.php').'?page='.$this->plugin_slug.'&tab=tour&refresh_tours=true">'.esc_attr('Refresh','wetu-importer').'</a></small>'; |
259 | 259 | } |
260 | - }else{ |
|
260 | + } else{ |
|
261 | 261 | echo '<span style="color:red;">'.wp_kses_post($result).'</span>'; |
262 | 262 | } |
263 | - }else{ |
|
263 | + } else{ |
|
264 | 264 | echo '<span style="color:green;">'.esc_attr('Connected','wetu-importer').'</span> - <small><a href="'.admin_url('admin.php').'?page='.$this->plugin_slug.'&tab=tour&refresh_tours=true">'.esc_attr('Refresh','wetu-importer').'</a></small>'; |
265 | 265 | } |
266 | 266 | echo '</h3></div>'; |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | |
276 | 276 | if(isset($tours['error'])){ |
277 | 277 | return $tours['error']; |
278 | - }elseif (isset($tours['itineraries']) && !empty($tours['itineraries'])) { |
|
278 | + } elseif (isset($tours['itineraries']) && !empty($tours['itineraries'])) { |
|
279 | 279 | set_transient('lsx_ti_tours',$tours['itineraries'],60*60*2); |
280 | 280 | return true; |
281 | 281 | } |
@@ -324,7 +324,7 @@ discard block |
||
324 | 324 | |
325 | 325 | if(isset($_POST['keyword'] )) { |
326 | 326 | $keyphrases = $_POST['keyword']; |
327 | - }else{ |
|
327 | + } else{ |
|
328 | 328 | $keyphrases = array(0); |
329 | 329 | } |
330 | 330 | |
@@ -376,16 +376,16 @@ discard block |
||
376 | 376 | |
377 | 377 | if(0 !== $row['post_id']){ |
378 | 378 | continue; |
379 | - }else{ |
|
379 | + } else{ |
|
380 | 380 | $searched_items[sanitize_title($row['name']).'-'.$row['identifier']] = $this->format_row($row); |
381 | 381 | } |
382 | 382 | |
383 | 383 | |
384 | - }else{ |
|
384 | + } else{ |
|
385 | 385 | |
386 | 386 | if(0 === $row['post_id']){ |
387 | 387 | continue; |
388 | - }else{ |
|
388 | + } else{ |
|
389 | 389 | $current_status = get_post_status($row['post_id']); |
390 | 390 | if($current_status !== $post_status){ |
391 | 391 | continue; |
@@ -396,7 +396,7 @@ discard block |
||
396 | 396 | |
397 | 397 | } |
398 | 398 | |
399 | - }else{ |
|
399 | + } else{ |
|
400 | 400 | //Search through each keyword. |
401 | 401 | foreach($keyphrases as $keyphrase){ |
402 | 402 | |
@@ -466,7 +466,7 @@ discard block |
||
466 | 466 | $wetu_id = $_POST['wetu_id']; |
467 | 467 | if(isset($_POST['post_id'])){ |
468 | 468 | $post_id = $_POST['post_id']; |
469 | - }else{ |
|
469 | + } else{ |
|
470 | 470 | $post_id = 0; |
471 | 471 | } |
472 | 472 | |
@@ -474,7 +474,7 @@ discard block |
||
474 | 474 | if(isset($_POST['content']) && is_array($_POST['content']) && !empty($_POST['content'])){ |
475 | 475 | $content = $_POST['content']; |
476 | 476 | add_option('wetu_importer_tour_settings',$content); |
477 | - }else{ |
|
477 | + } else{ |
|
478 | 478 | $content = false; |
479 | 479 | } |
480 | 480 | |
@@ -513,7 +513,7 @@ discard block |
||
513 | 513 | |
514 | 514 | if(isset($data['description'])){ |
515 | 515 | $data_post_content = $data['description']; |
516 | - }elseif(isset($data['summary'])){ |
|
516 | + } elseif(isset($data['summary'])){ |
|
517 | 517 | $data_post_content = $data['summary']; |
518 | 518 | } |
519 | 519 | $post['post_content'] = $data_post_content; |
@@ -526,7 +526,7 @@ discard block |
||
526 | 526 | $id = wp_update_post($post); |
527 | 527 | $prev_date = get_post_meta($id,'lsx_wetu_modified_date',true); |
528 | 528 | update_post_meta($id,'lsx_wetu_modified_date',strtotime($data['last_modified']),$prev_date); |
529 | - }else{ |
|
529 | + } else{ |
|
530 | 530 | |
531 | 531 | //Set the name |
532 | 532 | if(isset($data['name'])){ |
@@ -617,42 +617,42 @@ discard block |
||
617 | 617 | //Description |
618 | 618 | if(false !== $importable_content && in_array('itinerary_description',$importable_content) && isset($day['notes'])){ |
619 | 619 | $current_day['description'] = $day['notes']; |
620 | - }else{ |
|
620 | + } else{ |
|
621 | 621 | $current_day['description'] = ''; |
622 | 622 | } |
623 | 623 | |
624 | 624 | //Itinerary Gallery |
625 | 625 | if(false !== $importable_content && in_array('itinerary_gallery',$importable_content) && isset($day['images'])){ |
626 | 626 | $current_day['featured_image'] = ''; |
627 | - }else{ |
|
627 | + } else{ |
|
628 | 628 | $current_day['featured_image'] = ''; |
629 | 629 | } |
630 | 630 | |
631 | 631 | //Accommodation |
632 | 632 | if(false !== $current_accommodation){ |
633 | 633 | $current_day['accommodation_to_tour'] = array($current_accommodation); |
634 | - }else{ |
|
634 | + } else{ |
|
635 | 635 | $current_day['accommodation_to_tour'] = array(); |
636 | 636 | } |
637 | 637 | |
638 | 638 | //Destination |
639 | 639 | if(false !== $current_destination){ |
640 | 640 | $current_day['destination_to_tour'] = array($current_destination); |
641 | - }else{ |
|
641 | + } else{ |
|
642 | 642 | $current_day['destination_to_tour'] = array(); |
643 | 643 | } |
644 | 644 | |
645 | 645 | //Included |
646 | 646 | if(false !== $importable_content && in_array('itinerary_included',$importable_content) && isset($day['included']) && '' !== $day['included']){ |
647 | 647 | $current_day['included'] = $day['included']; |
648 | - }else{ |
|
648 | + } else{ |
|
649 | 649 | $current_day['included'] = ''; |
650 | 650 | } |
651 | 651 | |
652 | 652 | //Excluded |
653 | 653 | if(false !== $importable_content && in_array('itinerary_excluded',$importable_content) && isset($day['excluded']) && '' !== $day['excluded']){ |
654 | 654 | $current_day['excluded'] = $day['excluded']; |
655 | - }else{ |
|
655 | + } else{ |
|
656 | 656 | $current_day['excluded'] = ''; |
657 | 657 | } |
658 | 658 | |
@@ -660,7 +660,7 @@ discard block |
||
660 | 660 | $day_counter++; |
661 | 661 | } |
662 | 662 | |
663 | - }else{ |
|
663 | + } else{ |
|
664 | 664 | $day_counter = $day_counter + (int)$leg['nights']; |
665 | 665 | } |
666 | 666 | |
@@ -773,7 +773,7 @@ discard block |
||
773 | 773 | |
774 | 774 | if(false !== $this->current_accommodation && !empty($this->current_accommodation) && array_key_exists($day['content_entity_id'],$this->current_accommodation)){ |
775 | 775 | $ac_id = $this->current_accommodation[$day['content_entity_id']]; |
776 | - }else{ |
|
776 | + } else{ |
|
777 | 777 | $ac_id = wp_insert_post(array( |
778 | 778 | 'post_type' => 'accommodation', |
779 | 779 | 'post_status' => 'draft', |
@@ -841,7 +841,7 @@ discard block |
||
841 | 841 | $country_id = $this->set_country($country_wetu_id, $id); |
842 | 842 | } |
843 | 843 | |
844 | - }else { |
|
844 | + } else { |
|
845 | 845 | |
846 | 846 | $destination_json = file_get_contents("http://wetu.com/API/Pins/".$this->api_key."/Get?ids=" . $day['destination_content_entity_id']); |
847 | 847 | |
@@ -895,7 +895,7 @@ discard block |
||
895 | 895 | if(0 !== $country_id && false !== $country_id){ |
896 | 896 | $this->relation_meta[$dest_id] = $country_id; |
897 | 897 | $this->relation_meta[$country_id] = 0; |
898 | - }else{ |
|
898 | + } else{ |
|
899 | 899 | $this->relation_meta[$dest_id] = 0; |
900 | 900 | } |
901 | 901 | } |