summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoloc2012-12-01 13:21:20 (GMT)
committer Moloc2012-12-01 13:21:20 (GMT)
commit29030901a0c5dfc20d770af80433be9c7a7bfe73 (patch)
tree696ed1937dd0f0d54e7d5c622d1eca8cabd06490
parent6793358de37f111b726203af14b9dc44a0c287d1 (diff)
Issue #1824870 by bangpound, Moloc: Fixed media_type_get_types() is no longer part of media.
-rw-r--r--media_gallery.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/media_gallery.install b/media_gallery.install
index a786f58..358b62b 100644
--- a/media_gallery.install
+++ b/media_gallery.install
@@ -851,7 +851,7 @@ function _media_gallery_ensure_field_tags() {
function _media_gallery_ensure_media_instances() {
$t = get_t();
$instances = _media_required_instances();
- foreach (media_type_get_types() as $bundle => $type) {
+ foreach (file_type_get_enabled_types() as $bundle => $type) {
foreach ($instances as $instance) {
$instance_copy = $instance;
$instance_copy += array(