From e656e789586083eca07f3e571d02422b583a5061 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Tue, 8 Sep 2015 00:20:10 +0300 Subject: [PATCH] Genesis::getHashByPath is no longer used --- lib/genesis.php | 4 ---- 1 file changed, 4 deletions(-) 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));