]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14589: comment correction.
authorscyrma <scyrma>
Fri, 5 Sep 2008 02:57:19 +0000 (02:57 +0000)
committerscyrma <scyrma>
Fri, 5 Sep 2008 02:57:19 +0000 (02:57 +0000)
lib/file/file_storage.php

index bc243c357bf47104e327907762c27ee09b4a285c..03663e11d9e4fae8b9f2cdc244d106aa41c1f1f3 100644 (file)
@@ -462,7 +462,7 @@ class file_storage {
 
         $file_record->filename = clean_param($file_record->filename, PARAM_FILE);
         if ($file_record->filename === '') {
-            // path must start and end with '/'
+            // filename must not be empty
             throw new file_exception('storedfileproblem', 'Invalid file name');
         }