diff options
author | Sem <sembrestels@riseup.net> | 2012-04-05 18:38:32 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-04-05 18:38:32 +0200 |
commit | 18de117e23e6adfdead7ad2a96ef7eb275668672 (patch) | |
tree | 52d760fbfe1ba0a34cfad1522f95a11e8c15156e /mod | |
parent | a5c2950582fd8db88338b54fa8b516ac401e751e (diff) | |
parent | 5c842ef16d47f02ea4912349a108766743a706b7 (diff) | |
download | elgg-18de117e23e6adfdead7ad2a96ef7eb275668672.tar.gz elgg-18de117e23e6adfdead7ad2a96ef7eb275668672.tar.bz2 |
Merge branch 'file_general_type_hook' of github.com:lorea/Elgg
Diffstat (limited to 'mod')
-rw-r--r-- | mod/file/start.php | 4 |
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; |