Conditions | 4 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | protected function processUrl($url, $priority) |
||
29 | { |
||
30 | $meta = Publisher::singleton()->publishURL($url, true); |
||
31 | $meta = (is_array($meta)) ? $meta : []; |
||
32 | if (array_key_exists('success', $meta) && $meta['success']) { |
||
33 | $this->markUrlAsProcessed($url); |
||
34 | |||
35 | return; |
||
36 | } |
||
37 | |||
38 | $this->handleFailedUrl($url, $meta); |
||
39 | } |
||
41 |