Code Duplication    Length = 7-7 lines in 2 locations

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

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