From c71d18565831de6d990d55e916d120adf5a6c03b Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 29 Mar 2016 15:39:56 +0800 Subject: [PATCH] MDL-17955 forum: Remove timed postings from experimental This commit does two things: 1) remove the note about the feature being experimental; and 2) changes the default to be enabled for new sites. This will not enable the feature for existing sites where it is not enabled. --- mod/forum/lang/en/forum.php | 2 +- mod/forum/settings.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/forum/lang/en/forum.php b/mod/forum/lang/en/forum.php index fe31125cc51..7fd36ae2de1 100644 --- a/mod/forum/lang/en/forum.php +++ b/mod/forum/lang/en/forum.php @@ -94,7 +94,7 @@ $string['configcleanreadtime'] = 'The hour of the day to clean old posts from th $string['configdigestmailtime'] = 'People who choose to have emails sent to them in digest form will be emailed the digest daily. This setting controls which time of day the daily mail will be sent (the next cron that runs after this hour will send it).'; $string['configdisplaymode'] = 'The default display mode for discussions if one isn\'t set.'; $string['configenablerssfeeds'] = 'This switch will enable the possibility of RSS feeds for all forums. You will still need to turn feeds on manually in the settings for each forum.'; -$string['configenabletimedposts'] = 'Set to \'yes\' if you want to allow setting of display periods when posting a new forum discussion (Experimental as not yet fully tested)'; +$string['configenabletimedposts'] = 'Set to \'yes\' if you want to allow setting of display periods when posting a new forum discussion.'; $string['configlongpost'] = 'Any post over this length (in characters not including HTML) is considered long. Posts displayed on the site front page, social format course pages, or user profiles are shortened to a natural break somewhere between the forum_shortpost and forum_longpost values.'; $string['configmanydiscussions'] = 'Maximum number of discussions shown in a forum per page'; $string['configmaxattachments'] = 'Default maximum number of attachments allowed per post.'; diff --git a/mod/forum/settings.php b/mod/forum/settings.php index 3290444b452..d2980f1ede1 100644 --- a/mod/forum/settings.php +++ b/mod/forum/settings.php @@ -133,6 +133,6 @@ if ($ADMIN->fulltree) { } $settings->add(new admin_setting_configcheckbox('forum_enabletimedposts', get_string('timedposts', 'forum'), - get_string('configenabletimedposts', 'forum'), 0)); + get_string('configenabletimedposts', 'forum'), 1)); }