Code Duplication    Length = 8-8 lines in 2 locations

lib/midcom/helper/datamanager2/indexer/document.php 1 location

@@ 227-234 (lines=8) @@
224
            }
225
        }
226
227
        if ($this->abstract == '')
228
        {
229
            $this->abstract = $this->html2text($this->content);
230
            if (strlen($this->abstract) > 200)
231
            {
232
                $this->abstract = substr($this->abstract, 0, 200) . ' ...';
233
            }
234
        }
235
    }
236
237
    /**

src/midcom/datamanager/indexer/document.php 1 location

@@ 225-232 (lines=8) @@
222
            }
223
        }
224
225
        if ($this->abstract == '')
226
        {
227
            $this->abstract = $this->html2text($this->content);
228
            if (strlen($this->abstract) > 200)
229
            {
230
                $this->abstract = substr($this->abstract, 0, 200) . ' ...';
231
            }
232
        }
233
    }
234
235
    /**