Commit 72adce86 authored by Aaron Wells's avatar Aaron Wells Committed by Robert Lyon

Set the new install default forum post delay to 30 minutes

Bug 996337

Change-Id: I9a6f5b94fb05511ef0497a60fb133a390f3db46e
parent a26f6311
......@@ -324,6 +324,13 @@ EOF;
db_commit();
}
public static function postinst($prevversion) {
// On a new installation, set post delay to 30 minutes
if ($prevversion == 0) {
set_config_plugin('interaction', 'forum', 'postdelay', 30);
}
}
public static function get_activity_types() {
return array(
(object)array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment