aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/file/start.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index ad88469c8..6c1501bd2 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -232,6 +232,10 @@ function file_owner_block_menu($hook, $type, $return, $params) {
* @return string The overall type
*/
function file_get_simple_type($mimetype) {
+
+ if($type = elgg_trigger_plugin_hook('file_simple_type', 'object', $params, null)) {
+ return $type;
+ }
if($type = elgg_trigger_plugin_hook('file_simple_type', 'object', $params, null)) {
return $type;