Update of /cvsroot/openinteract/OpenInteract2/pkg/comments/OpenInteract2/SQLInstall
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7846/OpenInteract2/SQLInstall
Modified Files:
Comments.pm
Log Message:
OIN-119: be able to disable comments for an individual object or for an entire class of objects -- new action (comment_admin) as well as SPOPS object (comment_disable)
Index: Comments.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/pkg/comments/OpenInteract2/SQLInstall/Comments.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Comments.pm 22 May 2004 01:45:24 -0000 1.4
--- Comments.pm 4 Mar 2005 15:22:11 -0000 1.5
***************
*** 6,20 ****
use base qw( OpenInteract2::SQLInstall );
my %FILES = (
! default => [ 'comment.sql', 'comment_notify.sql', 'comment_summary.sql' ],
ib => [ 'comment_interbase.sql', 'comment_generator.sql',
! 'comment_notify.sql', 'comment_notify_generator.sql',
! 'comment_summary.sql', 'comment_summary_generator.sql' ],
! oracle => [ 'comment_oracle.sql', 'comment_sequence.sql',
! 'comment_notify_oracle.sql', 'comment_notify_sequence.sql',
! 'comment_summary_oracle.sql', 'comment_summary_sequence.sql' ],
! pg => [ 'comment.sql', 'comment_sequence.sql',
! 'comment_notify.sql', 'comment_notify_sequence.sql',
! 'comment_summary.sql', 'comment_summary_sequence.sql' ],
);
--- 6,26 ----
use base qw( OpenInteract2::SQLInstall );
+ my @tables = qw(
+ comment.sql comment_notify.sql
+ comment_summary.sql comment_disable.sql
+ );
+ my @sequences = qw(
+ comment_sequence.sql comment_notify_sequence.sql
+ comment_summary_sequence.sql comment_disable_sequence.sql
+ );
my %FILES = (
! default => [ @tables ],
! oracle => [ 'comment_oracle.sql', 'comment_summary_oracle.sql',
! 'comment_notify_oracle.sql', 'comment_disable.sql',
! @sequences ],
! pg => [ @tables, @sequences ],
ib => [ 'comment_interbase.sql', 'comment_generator.sql',
! 'comment_notify.sql', 'comment_notify_generator.sql',
! 'comment_summary.sql', 'comment_summary_generator.sql' ],
);
|