Index: openacs-4/contrib/packages/project-manager/project-manager.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/Attic/project-manager.info,v
diff -u -r1.5 -r1.6
--- openacs-4/contrib/packages/project-manager/project-manager.info 31 Jul 2003 20:14:08 -0000 1.5
+++ openacs-4/contrib/packages/project-manager/project-manager.info 1 Aug 2003 22:17:26 -0000 1.6
@@ -18,6 +18,8 @@
+
+
Index: openacs-4/contrib/packages/project-manager/tcl/install-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/tcl/Attic/install-procs-postgresql.xql,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/contrib/packages/project-manager/tcl/install-procs-postgresql.xql 1 Aug 2003 22:17:26 -0000 1.1
@@ -0,0 +1,34 @@
+
+
+
+ postgresql7.1
+
+
+
+
+
+ select pm_project__get_root_folder(:package_id,'t');
+
+
+
+
+
+
+
+
+ select pm_project__get_root_folder(:package_id,'f');
+
+
+
+
+
+
+
+
+ select content_item__delete(:folder_id);
+
+
+
+
+
+
Index: openacs-4/contrib/packages/project-manager/tcl/install-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/tcl/Attic/install-procs.tcl,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/contrib/packages/project-manager/tcl/install-procs.tcl 1 Aug 2003 22:17:26 -0000 1.1
@@ -0,0 +1,38 @@
+ad_library {
+
+ Project manager install library
+
+ Procedures that deal with installing, instantiating, mounting.
+
+ @creation-date 2003-01-31
+ @author Jade Rubick
+ @copied-from Lars Pind
+ @cvs-id $Id: install-procs.tcl,v 1.1 2003/08/01 22:17:26 jader Exp $
+}
+
+
+namespace eval project_manager::install {}
+
+
+ad_proc -private project_manager::install::package_instantiate {
+ {-package_id:required}
+} {
+ Package instantiation callback proc.
+} {
+ # Create the project repository
+
+ db_exec_plsql create_project { }
+}
+
+ad_proc -private project_manager::install::package_uninstantiate {
+ {-package_id:required}
+} {
+ Package un-instantiation callback proc
+} {
+ # Delete the project repository
+
+ ns_log Debug "project_manager::install::package_uninstantiate getting folder_id for package_id: $package_id"
+ set folder_id [db_exec_plsql get_folder_id { }]
+ ns_log Debug "project_manager::install::package_uninstantiate delete folder_id: $folder_id"
+ db_exec_plsql delete_root_folder { }
+}