Code Duplication    Length = 7-7 lines in 2 locations

application/modules/CMSFactory/MetaManipulator/MetaManipulator.php 2 locations

@@ 743-749 (lines=7) @@
740
                $replace = $this->$method();
741
                $search = $w . $var . $w;
742
743
                foreach ($this->getMetaArray() as $metaName) {
744
                    $get = "get$metaName";
745
                    $set = "set$metaName";
746
747
                    $return[$metaName] = str_replace($search, $replace, trim($this->$get()));
748
                    $this->$set($return[$metaName]);
749
                }
750
            }
751
        } else {
752
            foreach ($this->getMetaArray() as $metaName) {
@@ 752-758 (lines=7) @@
749
                }
750
            }
751
        } else {
752
            foreach ($this->getMetaArray() as $metaName) {
753
                $get = "get$metaName";
754
                $set = "set$metaName";
755
756
                $return[$metaName] = trim($this->$get());
757
                $this->$set($return[$metaName]);
758
            }
759
760
        }
761