Code Duplication    Length = 3-3 lines in 2 locations

application/models/Media/Row.php 2 locations

@@ 99-101 (lines=3) @@
96
     */
97
    protected function afterDelete()
98
    {
99
        if (is_file(PATH_PUBLIC .'/'. $this->file)) {
100
            @unlink(PATH_PUBLIC .'/'. $this->file);
101
        }
102
        if (is_file(PATH_PUBLIC .'/'. $this->preview)) {
103
            @unlink(PATH_PUBLIC .'/'. $this->preview);
104
        }
@@ 102-104 (lines=3) @@
99
        if (is_file(PATH_PUBLIC .'/'. $this->file)) {
100
            @unlink(PATH_PUBLIC .'/'. $this->file);
101
        }
102
        if (is_file(PATH_PUBLIC .'/'. $this->preview)) {
103
            @unlink(PATH_PUBLIC .'/'. $this->preview);
104
        }
105
    }
106
}
107