MDL-23591 adding missing $fs
authorPetr Skoda <skodak@moodle.org>
Fri, 30 Jul 2010 14:49:50 +0000 (14:49 +0000)
committerPetr Skoda <skodak@moodle.org>
Fri, 30 Jul 2010 14:49:50 +0000 (14:49 +0000)
repository/local/lib.php

index 1f2f21c..4e1cb41 100755 (executable)
@@ -178,6 +178,7 @@ class repository_local extends repository {
         $info = array();
 
         $browser = get_file_browser();
+        $fs = get_file_storage();
         $user_context = get_context_instance(CONTEXT_USER, $USER->id);
 
         // the final file