mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-16596 adding missing get_pathnamehash() method
This commit is contained in:
parent
b933a13955
commit
8b1ed8bf8f
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user