From 80f5d6d64b03516897288238c2a45abde29bc72d Mon Sep 17 00:00:00 2001 From: jepso Date: Sun, 23 Sep 2007 21:44:45 +0000 Subject: [PATCH] Removed repetition. --- vendor/Sensei/Sensei/Doc/Section.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/vendor/Sensei/Sensei/Doc/Section.php b/vendor/Sensei/Sensei/Doc/Section.php index 010f9ee42..b21d4fa65 100644 --- a/vendor/Sensei/Sensei/Doc/Section.php +++ b/vendor/Sensei/Sensei/Doc/Section.php @@ -131,11 +131,6 @@ class Sensei_Doc_Section implements Countable if ( ! $short && ! $this->_parent->isRoot()) { return $this->_parent->getPath($short, $separator) . $separator . $this->getPath(true); } else { - $patterns = array('/\s/', '/[^a-z0-9-]/'); - $replacements = array('-', ''); - - $path = preg_replace($patterns, $replacements, strtolower($this->_name)); - return self::convertNameToPath($this->_name); } }