Index: trunk/phase3/includes/filerepo/FileRepo.php |
— | — | @@ -185,7 +185,7 @@ |
186 | 186 | |
187 | 187 | /** |
188 | 188 | * Create a new File object from the local repository |
189 | | - * @param $sha1 Mixed: SHA-1 key |
| 189 | + * @param $sha1 Mixed: base 36 SHA-1 hash |
190 | 190 | * @param $time Mixed: time at which the image was uploaded. |
191 | 191 | * If this is specified, the returned object will be an |
192 | 192 | * of the repository's old file class instead of a current |
— | — | @@ -211,7 +211,7 @@ |
212 | 212 | * Returns false if the file does not exist. Repositories not supporting |
213 | 213 | * version control should return false if the time is specified. |
214 | 214 | * |
215 | | - * @param $sha1 String |
| 215 | + * @param $sha1 String base 36 SHA-1 hash |
216 | 216 | * @param $options Option array, same as findFile(). |
217 | 217 | */ |
218 | 218 | function findFileFromKey( $sha1, $options = array() ) { |
Index: trunk/phase3/includes/filerepo/RepoGroup.php |
— | — | @@ -215,7 +215,7 @@ |
216 | 216 | * Find an instance of the file with this key, created at the specified time |
217 | 217 | * Returns false if the file does not exist. |
218 | 218 | * |
219 | | - * @param $hash String SHA-1 |
| 219 | + * @param $hash String base 36 SHA-1 hash |
220 | 220 | * @param $options Option array, same as findFile() |
221 | 221 | * @return File object or false if it is not found |
222 | 222 | */ |
— | — | @@ -237,7 +237,7 @@ |
238 | 238 | /** |
239 | 239 | * Find all instances of files with this key |
240 | 240 | * |
241 | | - * @param $hash String SHA-1 |
| 241 | + * @param $hash String base 36 SHA-1 hash |
242 | 242 | * @return Array of File objects |
243 | 243 | */ |
244 | 244 | function findBySha1( $hash ) { |