mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-14589 adding function get_contenthash() - thanks Penny
This commit is contained in:
parent
145a0a317b
commit
4284e1cc17
1 changed files with 4 additions and 0 deletions
|
@ -189,4 +189,8 @@ class stored_file {
|
|||
public function get_id() {
|
||||
return $this->file_record->id;
|
||||
}
|
||||
|
||||
public function get_contenthash() {
|
||||
return $this->file_record->contenthash;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue