]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14589: Files in user_draft now come out of draftfile.php.
authorscyrma <scyrma>
Thu, 4 Sep 2008 05:49:30 +0000 (05:49 +0000)
committerscyrma <scyrma>
Thu, 4 Sep 2008 05:49:30 +0000 (05:49 +0000)
userfile.php

index 4b220dfc3350b41cbd7bb3a81902aad416638a81..d43778ee579a62ede58834c5dbd6025d150bd0b2 100644 (file)
@@ -43,7 +43,6 @@
 
     switch ($filearea) {
         case 'private': $itemid = 0; $forcedownload = true; break;
-        case 'draft'  : $itemid = (int)array_shift($args); break;
         default:        send_file_not_found();
     }