diff --git a/user/index.php b/user/index.php
index db71b6ce57b..4be269224d7 100644
--- a/user/index.php
+++ b/user/index.php
@@ -397,10 +397,6 @@
         $rolenames = array(0 => get_string('all')) + $rolenames;
         popup_form("$CFG->wwwroot/user/index.php?contextid=$context->id&sifirst=&silast=&roleid=", $rolenames,
                    'rolesform', $roleid, '');
-        // Link to Groups page
-        echo "\n".'<input type="button" onclick="window.location=\'' . $CFG->wwwroot . '/group/index.php?id='
-                . $course->id . '\';" value="' . get_string('groups') . '" />';
-        echo '</div>';
     }
 
     if ($roleid) {