From 4284e1cc17355a33f8ecb42fd300aeae405f1b88 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 8 Aug 2008 13:11:32 +0000 Subject: [PATCH] MDL-14589 adding function get_contenthash() - thanks Penny --- lib/file/stored_file.php | 4 ++++ 1 file changed, 4 insertions(+) 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; + } } -- 2.39.5