fixed: Matrix caches pages, and may not update for new listings

This commit is contained in:
Graham Knop 2008-03-19 22:37:10 +00:00
parent a34025fbc9
commit 93ef776635
2 changed files with 7 additions and 1 deletions

View file

@ -5,6 +5,7 @@
- fixed: Wiki page history shows username instead of alias
- added: Uploads locations and files are set to the same uid/gid that owns the uploads root
- fixed: SQL Form fields with a regex are required even if not set to required
- fixed: Matrix caches pages, and may not update for new listings
7.5.6
- fixed: events get start/end time even when none specified (also can offset start/end day)

View file

@ -100,6 +100,11 @@ sub duplicate {
return undef;
}
#-------------------------------------------------------------------
# Too much data to keep track of modification dates, always assume new data
sub getContentLastModified {
return time();
}
#-------------------------------------------------------------------
sub formatURL {
@ -1140,7 +1145,7 @@ sub www_viewDetail {
$var{screenshot} = $storage->getUrl($listing->{filename});
$var{thumbnail} = $storage->getThumbnailUrl($listing->{filename});
}
$var{"discussion"} = $forum->view;
$var{"discussion"} = $forum && $forum->view;
$var{'isLoggedIn'} = ($self->session->user->userId ne "1");
if ($self->session->form->process("do") eq "sendEmail" && $self->session->form->process("verify","captcha")) {
if ($self->session->form->process("body") ne "") {