Removed obscure buggy code.

This commit is contained in:
Leendert Bottelberghs 2004-08-13 15:08:26 +00:00
parent 3b62480eea
commit 9bf7847412

View file

@ -189,10 +189,6 @@ sub www_view {
$templateId = $session{form}{overrideTemplateId};
}
if ($session{form}{forumOp}) {
unless ($!= $self->get("wobjectId")) {
WebGUI::ErrorHandler::security("access a forum that was not related to this message board (".$self->get("wobjectId").")");
return WebGUI::Privilege::insufficient();
}
return WebGUI::Forum::UI::forumOp({
callback=>$callback,
title=>$self->get("title"),