Commit 7963fb74 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Move feedback activity type to comment artefact in new installs


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 81b32be1
......@@ -52,6 +52,16 @@ class PluginArtefactComment extends PluginArtefact {
return array();
}
public static function get_activity_types() {
return array(
(object)array(
'name' => 'feedback',
'admin' => 0,
'delay' => 0,
)
);
}
public static function postinst($prevversion) {
if ($prevversion == 0) {
set_config_plugin('artefact', 'comment', 'commenteditabletime', 10);
......
......@@ -745,7 +745,6 @@ function core_install_firstcoredata_defaults() {
$activitytypes = array(
array('maharamessage', 0, 0),
array('usermessage', 0, 0),
array('feedback', 0, 0),
array('watchlist', 0, 1),
array('viewaccess', 0, 1),
array('contactus', 1, 1),
......
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