backup MDL-23885 committing Eloys patch so backup works with the revised file area...
authorAndrew Davis <andrew@affinitysoftware.net>
Thu, 26 Aug 2010 02:15:11 +0000 (02:15 +0000)
committerAndrew Davis <andrew@affinitysoftware.net>
Thu, 26 Aug 2010 02:15:11 +0000 (02:15 +0000)
backup/util/helper/backup_file_manager.class.php

index 5e3f21b..14ef03e 100644 (file)
@@ -69,8 +69,7 @@ class backup_file_manager {
     public static function get_content_file_location($contenthash) {
         $l1 = $contenthash[0].$contenthash[1];
         $l2 = $contenthash[2].$contenthash[3];
-        $l3 = $contenthash[4].$contenthash[5];
-        return "$l1/$l2/$l3/$contenthash";
+        return "$l1/$l2/$contenthash";
     }
 
     /**