Index: openacs-4/packages/dotlrn/dotlrn.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/dotlrn.info,v
diff -u -r1.144 -r1.145
--- openacs-4/packages/dotlrn/dotlrn.info 23 Jun 2018 16:30:58 -0000 1.144
+++ openacs-4/packages/dotlrn/dotlrn.info 5 Jul 2018 11:16:16 -0000 1.145
@@ -7,15 +7,15 @@
f
f
-
+
OpenACS
A Course Management System
2017-08-06
DotLRN Consortium
2
Course Management
-
+
Index: openacs-4/packages/dotlrn/sql/oracle/dotlrn-init.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/sql/oracle/dotlrn-init.sql,v
diff -u -r1.32 -r1.33
--- openacs-4/packages/dotlrn/sql/oracle/dotlrn-init.sql 8 Aug 2006 21:26:21 -0000 1.32
+++ openacs-4/packages/dotlrn/sql/oracle/dotlrn-init.sql 5 Jul 2018 11:16:16 -0000 1.33
@@ -330,15 +330,6 @@
min_n_rels_two => 0, max_n_rels_two => null
);
- -- all rels to communities must have a portal_id
- bar := acs_attribute.create_attribute(
- object_type => 'dotlrn_member_rel',
- attribute_name => 'portal_id',
- datatype => 'integer',
- pretty_name => 'Page ID',
- pretty_plural => 'Page IDs'
- );
-
end;
/
show errors
Index: openacs-4/packages/dotlrn/sql/postgresql/dotlrn-init.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/sql/postgresql/dotlrn-init.sql,v
diff -u -r1.15 -r1.16
--- openacs-4/packages/dotlrn/sql/postgresql/dotlrn-init.sql 7 Aug 2017 23:48:09 -0000 1.15
+++ openacs-4/packages/dotlrn/sql/postgresql/dotlrn-init.sql 5 Jul 2018 11:16:16 -0000 1.16
@@ -373,21 +373,6 @@
null::integer
);
- -- all rels to communities must have a portal_id
- perform acs_attribute__create_attribute (
- 'dotlrn_member_rel',
- 'portal_id',
- 'integer',
- 'Page ID',
- 'Page IDs',
- null, null, null,
- 1,
- 1,
- null,
- 'type_specific',
- 'f'
- );
-
return 0;
END;
$$ LANGUAGE plpgsql;
Index: openacs-4/packages/dotlrn/tcl/apm-callback-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/tcl/apm-callback-procs.tcl,v
diff -u -r1.17 -r1.18
--- openacs-4/packages/dotlrn/tcl/apm-callback-procs.tcl 9 May 2018 15:33:30 -0000 1.17
+++ openacs-4/packages/dotlrn/tcl/apm-callback-procs.tcl 5 Jul 2018 11:16:16 -0000 1.18
@@ -292,6 +292,15 @@
2.5.0d3 2.5.0d4 {
db_dml insert_group_rels {}
}
+ 2.10.0d1 2.10.0d2 {
+ set attribute_id [db_string get_attribute {
+ select attribute_id from acs_attributes
+ where object_type = 'dotlrn_member_rel'
+ and attribute_name = 'portal_id'} -default ""]
+ if {$attribute_id ne ""} {
+ attribute::delete $attribute_id
+ }
+ }
}
}