From 223b3ce3a09b93141ae9a53f732e11ae5bf2f460 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Tue, 29 Nov 2011 16:47:21 +1300 Subject: [PATCH] MDL-30273 whitespace cleanup --- mod/forum/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 3e9c7326fb8..71339e4a845 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -4899,7 +4899,7 @@ function forum_user_can_post_discussion($forum, $currentgroup=null, $unused=-1, if (!has_capability($capname, $context)) { return false; } - + if ($forum->type == 'single') { return false; } -- 2.43.0