Code Duplication    Length = 12-12 lines in 2 locations

manager/media/rss/extlib/Snoopy.class.inc 2 locations

@@ 172-183 (lines=12) @@
169
                        }
170
                    }
171
172
                    if ($this->_framedepth < $this->maxframes && count($this->_frameurls) > 0) {
173
                        $frameurls = $this->_frameurls;
174
                        $this->_frameurls = array();
175
176
                        while (list(, $frameurl) = each($frameurls)) {
177
                            if ($this->_framedepth < $this->maxframes) {
178
                                $this->fetch($frameurl);
179
                                $this->_framedepth++;
180
                            } else
181
                                break;
182
                        }
183
                    }
184
                } else {
185
                    return false;
186
                }
@@ 268-279 (lines=12) @@
265
                        }
266
                    }
267
268
                    if ($this->_framedepth < $this->maxframes && count($this->_frameurls) > 0) {
269
                        $frameurls = $this->_frameurls;
270
                        $this->_frameurls = array();
271
272
                        while (list(, $frameurl) = each($frameurls)) {
273
                            if ($this->_framedepth < $this->maxframes) {
274
                                $this->fetch($frameurl);
275
                                $this->_framedepth++;
276
                            } else
277
                                break;
278
                        }
279
                    }
280
281
                } else {
282
                    return false;