Genesis::getHashByPath is no longer used
This commit is contained in:
parent
5152a024e3
commit
e656e78958
@ -76,10 +76,6 @@ class Genesis {
|
|||||||
return $this->hash;
|
return $this->hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getHashByPath($path){
|
|
||||||
return preg_replace('|([a-zA-Z0-9])*\..*$|', '\1', $path);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function getDocumentHash($view, $path){
|
protected function getDocumentHash($view, $path){
|
||||||
$this->validate($view, $path);
|
$this->validate($view, $path);
|
||||||
$hash = sha1($view->file_get_contents($path));
|
$hash = sha1($view->file_get_contents($path));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user