Permalink
Browse files

MDL-24258: removing white spaces.

  • Loading branch information...
1 parent 44aa24d commit 3ead833be8ac1f6d2637b35baafe2df7f81e385d Rossiani Wijaya committed Oct 1, 2010
Showing with 6 additions and 6 deletions.
  1. +2 −2 lang/en_utf8/forum.php
  2. +4 −4 mod/forum/post.php
View
4 lang/en_utf8/forum.php
@@ -81,11 +81,11 @@
$string['editing'] = 'Editing';
$string['emptymessage'] = 'Something was wrong with your post. Perhaps you left it blank, or the attachment was too big. Your changes have NOT been saved.';
$string['everyonecanchoose'] = 'Everyone can choose to be subscribed';
-$string['everyonecannowchoose'] = 'Everyone can now choose to be subscribed';
+$string['everyonecannowchoose'] = 'Everyone can now choose to be subscribed';
$string['everyoneisnowsubscribed'] = 'Everyone is now subscribed to this forum';
$string['everyoneissubscribed'] = 'Everyone is subscribed to this forum';
$string['existingsubscribers'] = 'Existing subscribers';
-$string['forcessubscribe'] = 'This forum forces everyone to be subscribed';
+$string['forcessubscribe'] = 'This forum forces everyone to be subscribed';
$string['forcesubscribe'] = 'Force everyone to be subscribed';
$string['forcesubscribeq'] = 'Force everyone to be subscribed?';
$string['forum'] = 'Forum';
View
8 mod/forum/post.php
@@ -138,7 +138,7 @@
error("Incorrect cm");
}
- // call course_setup to use forced language, MDL-6926
+ // call course_setup to use forced language, MDL-6926
course_setup($course->id);
$coursecontext = get_context_instance(CONTEXT_COURSE, $course->id);
@@ -265,15 +265,15 @@
$replycount = forum_count_replies($post);
-
+
if (!empty($confirm) && confirm_sesskey()) { // User has confirmed the delete
//check user capability to delete post.
$timepassed = time() - $post->created;
if (($timepassed > $CFG->maxeditingtime) && !has_capability('mod/forum:deleteanypost', $modcontext)) {
print_error("cannotdeletepost", "forum",
forum_go_back_to("discuss.php?d=$post->discussion"));
}
-
+
if ($post->totalscore) {
notice(get_string("couldnotdeleteratings", "forum"),
forum_go_back_to("discuss.php?d=$post->discussion"));
@@ -748,7 +748,7 @@
} else if (forum_user_has_posted($forum->id, 0, $USER->id)) {
$subscribe = false;
-
+
} else {
// user not posted yet - use subscription default specified in profile
$subscribe = !empty($USER->autosubscribe);

0 comments on commit 3ead833

Please sign in to comment.