MDL-16596 adding missing get_pathnamehash() method

This commit is contained in:
skodak 2008-09-21 15:54:48 +00:00
parent b933a13955
commit 8b1ed8bf8f

View File

@ -170,4 +170,9 @@ class virtual_root_file {
public function get_contenthash() {
return sha1('');
}
public function get_pathnamehash() {
return sha1($this->get_contextid().$this->get_filearea().$this->get_itemid().$this->get_filepath().$this->get_filename());
}
}