summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/ajax.php
diff options
context:
space:
mode:
authorshadlaws <shad@shadlaws.com>2013-01-28 23:31:18 +0100
committershadlaws <shad@shadlaws.com>2013-01-28 23:31:18 +0100
commit5fca371a616dba16f955087c4477ee229ee222d0 (patch)
tree10815a88f2632535d6855bb8220ca0a96cc18b21 /modules/gallery/helpers/ajax.php
parent23c6c507526ec1fc4a7ff80afb154341d75e9cab (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/helpers/ajax.php')
0 files changed, 0 insertions, 0 deletions