]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixed unability to disable group videos bug.
authorSem <sembrestels@riseup.net>
Fri, 11 May 2012 00:22:53 +0000 (02:22 +0200)
committerSem <sembrestels@riseup.net>
Fri, 11 May 2012 00:22:53 +0000 (02:22 +0200)
start.php

index 241d15aa8ce238468621d19a3b3cff9efe3f63c8..9b7dd3084ef308f93c545a9a6a2260dac9091046 100644 (file)
--- a/start.php
+++ b/start.php
@@ -40,7 +40,8 @@ function videolist_init() {
                'height' => 400,
        ));
 
-       // extend group main page
+       // add to groups
+       add_group_tool_option('videolist', elgg_echo('groups:enablevideolist'), true);
        elgg_extend_view('groups/tool_latest', 'videolist/group_module');
        
        //add a widget