Update of /cvs/scoop/scoop/lib/Scoop
In directory lithium.sabren.com:/tmp/cvs-serv6676/lib/Scoop

Modified Files:
	Cron.pm Search.pm 
Log Message:
Fixes for bugs 23 and 115: removing use_diaries (in favour of section 
permissions) and some sql quoting fixes in the user creation code.

-janra



Index: Cron.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Cron.pm,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** Cron.pm	30 Jul 2004 08:12:56 -0000	1.27
--- Cron.pm	23 Jan 2005 03:45:59 -0000	1.28
***************
*** 642,645 ****
--- 642,646 ----
  
  	my ($rv, $sth) = $S->db_delete({
+ 		DEBUG => $DEBUG,
  		FROM  => 'sessions',
  		WHERE => "last_accessed < " . $S->db_date_sub("NOW()", "$length $unit")

Index: Search.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Search.pm,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** Search.pm	21 Jan 2005 14:14:30 -0000	1.69
--- Search.pm	23 Jan 2005 03:45:59 -0000	1.70
***************
*** 441,445 ****
  	|;
  	
! 	my %diary = ( ($S->{UI}->{VARS}->{use_diaries} && !$S->{UI}->{VARS}->{hide_diary_search}) ? 
  					("diary" => 'Diaries', "diary_by" => 'Diaries By') :
  					()
--- 441,445 ----
  	|;
  	
! 	my %diary = ( (!$S->{UI}->{VARS}->{hide_diary_search}) ? 
  					("diary" => 'Diaries', "diary_by" => 'Diaries By') :
  					()