Update of /cvs/scoop/scoop/lib/Scoop/Admin
In directory lithium.sabren.com:/tmp/cvs-serv6676/lib/Scoop/Admin
Modified Files:
AdminStories.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: AdminStories.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Admin/AdminStories.pm,v
retrieving revision 1.143
retrieving revision 1.144
diff -C2 -d -r1.143 -r1.144
*** AdminStories.pm 21 Jan 2005 14:14:30 -0000 1.143
--- AdminStories.pm 23 Jan 2005 03:45:59 -0000 1.144
***************
*** 1885,1893 ****
}
- # don't post if its a diary and they are not using them
- if( $params->{'section'} eq 'Diary' && !( $S->{UI}->{VARS}->{use_diaries} )) {
- return (0, "Diary postings are not allowed on this site at this time.");
- }
-
# return 0 if they aren't who they say they are or they are not an editor
if ($S->{UID} ne $params->{aid} && !$S->have_perm('story_list')) {
--- 1885,1888 ----