Removed obscure buggy code.
This commit is contained in:
parent
3b62480eea
commit
9bf7847412
1 changed files with 0 additions and 4 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue