From: skodak Date: Fri, 8 Aug 2008 13:11:32 +0000 (+0000) Subject: MDL-14589 adding function get_contenthash() - thanks Penny X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4284e1cc17355a33f8ecb42fd300aeae405f1b88;p=moodle.git MDL-14589 adding function get_contenthash() - thanks Penny --- diff --git a/lib/file/stored_file.php b/lib/file/stored_file.php index 8da8965641..bbc0dfb856 100644 --- a/lib/file/stored_file.php +++ b/lib/file/stored_file.php @@ -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; + } }