### Eclipse Workspace Patch 1.0
#P CONTRIB
Index: patches/gradebookplus_v2_1.7/lib.php
===================================================================
RCS file: /cvsroot/moodle/contrib/patches/gradebookplus_v2_1.7/lib.php,v
retrieving revision 1.3.2.14
diff -u -r1.3.2.14 lib.php
--- patches/gradebookplus_v2_1.7/lib.php	20 Nov 2007 16:52:13 -0000	1.3.2.14
+++ patches/gradebookplus_v2_1.7/lib.php	27 Nov 2007 06:47:47 -0000
@@ -1403,8 +1403,6 @@
     $stractivityreport = get_string("activityreport");
 
 /// Check to see if groups are being used in this course
-    $currentgroup = get_current_group($course->id);
-
     if ($currentgroup  = get_current_group($course->id) && groupmode($course) != 0) {
         $students = get_group_students($currentgroup, "u.lastname ASC");
     } else {

