Skip to content

Commit

Permalink
Set a default value for $CFG->forum_replytouser
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jul 29, 2004
1 parent ab0cc6d commit 1246ea5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mod/forum/lib.php
Expand Up @@ -43,6 +43,10 @@
set_config("forum_maxbytes", 512000); // Default maximum size for all forums
}

if (!isset($CFG->forum_replytouser)) {
set_config("forum_replytouser", true); // Default maximum size for all forums
}



/// STANDARD FUNCTIONS ///////////////////////////////////////////////////////////
Expand Down

0 comments on commit 1246ea5

Please sign in to comment.