diff --git a/lib/genesis.php b/lib/genesis.php index 52e82e8f..a74d3274 100644 --- a/lib/genesis.php +++ b/lib/genesis.php @@ -76,10 +76,6 @@ class Genesis { return $this->hash; } - public static function getHashByPath($path){ - return preg_replace('|([a-zA-Z0-9])*\..*$|', '\1', $path); - } - protected function getDocumentHash($view, $path){ $this->validate($view, $path); $hash = sha1($view->file_get_contents($path));