]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14589 adding function get_contenthash() - thanks Penny
authorskodak <skodak>
Fri, 8 Aug 2008 13:11:32 +0000 (13:11 +0000)
committerskodak <skodak>
Fri, 8 Aug 2008 13:11:32 +0000 (13:11 +0000)
lib/file/stored_file.php

index 8da8965641921debf294130f49217429a37d0e13..bbc0dfb856aff9f5fb006c5773cf69ae734fe794 100644 (file)
@@ -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;
+    }
 }