Added discussion thread subscription support.

This commit is contained in:
JT Smith 2003-02-05 04:51:27 +00:00
parent 1f305caee0
commit 2df4defd5e
4 changed files with 157 additions and 77 deletions

View file

@ -1292,6 +1292,20 @@ sub www_showMessage {
return $output;
}
#-------------------------------------------------------------------
=head2 www_subscribeToThread ( )
Subscribes the current user to a specified discussion thread.
=cut
sub www_subscribeToThread {
WebGUI::Discussion::subscribeToThread();
return $_[0]->www_showMessage();
}
#-------------------------------------------------------------------
=head2 www_unlockThread ( )
@ -1311,6 +1325,19 @@ sub www_unlockThread {
#-------------------------------------------------------------------
=head2 www_subscribeToThread ( )
Unsubscribes the current user from a specified discussion thread.
=cut
sub www_unsubscribeFromThread {
WebGUI::Discussion::unsubscribeFromThread();
return $_[0]->www_showMessage();
}
#-------------------------------------------------------------------
=head2 www_view ( )
The default display mechanism for any wobject. This web method MUST be overridden.