@@ -59,6 +59,9 @@ discard block |
||
| 59 | 59 | $this->add_posts($youtube_result, 'youtube'); |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | + /** |
|
| 63 | + * @param string $type |
|
| 64 | + */ |
|
| 62 | 65 | private function remove_existing($result, $type) |
| 63 | 66 | {
|
| 64 | 67 | foreach($result as $key => $row) |
@@ -70,6 +73,9 @@ discard block |
||
| 70 | 73 | return $result; |
| 71 | 74 | } |
| 72 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $type |
|
| 78 | + */ |
|
| 73 | 79 | private function add_posts($result, $type) |
| 74 | 80 | {
|
| 75 | 81 | foreach($result as $row) |