Index: openacs-4/packages/dotlrn/sql/postgresql/dotlrn-students-init.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/sql/postgresql/Attic/dotlrn-students-init.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/dotlrn/sql/postgresql/dotlrn-students-init.sql	3 Jul 2002 19:58:07 -0000	1.5
+++ openacs-4/packages/dotlrn/sql/postgresql/dotlrn-students-init.sql	8 Jul 2002 04:12:21 -0000	1.6
@@ -26,7 +26,7 @@
 returns integer as '
 declare
     foo                         integer;
-    group_id                    integer;
+    gid				integer;
     dotlrn_users_group_id       integer;
 begin
 
@@ -53,7 +53,7 @@
     from acs_sc_impls
     where impl_name = ''dotlrn_student_profile_provider'';
 
-    group_id := profiled_group__new(
+    gid := profiled_group__new(
         foo,
         ''dotLRN Students''
     );
@@ -62,11 +62,11 @@
     into dotlrn_user_types
     (type, pretty_name, group_id)
     values
-    (''student'', ''Student'', group_id);
+    (''student'', ''Student'', gid);
 
     foo := rel_segment__new(
         ''dotLRN Students'',
-        group_id,
+        gid,
         ''dotlrn_student_profile_rel''
     );
 
@@ -77,7 +77,7 @@
 
     foo := composition_rel__new(
         dotlrn_users_group_id,
-        group_id
+        gid
     );
 
     return 0;
