diff options
author | shadlaws <shad@shadlaws.com> | 2013-01-28 23:31:18 +0100 |
---|---|---|
committer | shadlaws <shad@shadlaws.com> | 2013-01-28 23:31:18 +0100 |
commit | 5fca371a616dba16f955087c4477ee229ee222d0 (patch) | |
tree | 10815a88f2632535d6855bb8220ca0a96cc18b21 /modules/gallery/module.info | |
parent | 23c6c507526ec1fc4a7ff80afb154341d75e9cab (diff) |
#1945 - Extend legal_file helper functions.
- Added get_types_by_extension function, which is a merged version of get...types_by_extension functions (similar to get_extensions).
- Added optional extension argument to get...extensions functions similar to get...types_by_extension functions.
- Added unit tests. Now, every legal_file function has one.
- Restructured helper file to include caches.
- Added array_unique to get...types (derived from get...types_by_extension, which can be many-to-one).
- Edited server_add, uploader, and item model to use new functionality.
Diffstat (limited to 'modules/gallery/module.info')
0 files changed, 0 insertions, 0 deletions