Commit 3ab35a4b authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Make group message notifications delayed. In future they may go out to all group members.


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 2dd689fe
...@@ -1740,5 +1740,9 @@ function xmldb_core_upgrade($oldversion=0) { ...@@ -1740,5 +1740,9 @@ function xmldb_core_upgrade($oldversion=0) {
add_field($table, $field); add_field($table, $field);
} }
if ($oldversion < 2010051000) {
set_field('activity_type', 'delay', 1, 'name', 'groupmessage');
}
return $status; return $status;
} }
...@@ -758,7 +758,7 @@ function core_install_firstcoredata_defaults() { ...@@ -758,7 +758,7 @@ function core_install_firstcoredata_defaults() {
array('virusrepeat', 1, 1), array('virusrepeat', 1, 1),
array('virusrelease', 1, 1), array('virusrelease', 1, 1),
array('institutionmessage', 0, 0), array('institutionmessage', 0, 0),
array('groupmessage', 0, 0), array('groupmessage', 0, 1),
); );
foreach ($activitytypes as $at) { foreach ($activitytypes as $at) {
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
defined('INTERNAL') || die(); defined('INTERNAL') || die();
$config = new StdClass; $config = new StdClass;
$config->version = 2010042604; $config->version = 2010051000;
$config->release = '1.3.0dev'; $config->release = '1.3.0dev';
$config->minupgradefrom = 2008040200; $config->minupgradefrom = 2008040200;
$config->minupgraderelease = '1.0.0 (release tag 1.0.0_RELEASE)'; $config->minupgraderelease = '1.0.0 (release tag 1.0.0_RELEASE)';
......
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