Commit 148fd405 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't ignore delay,admin settings on new plugin activity types

Signed-off-by: default avatarRichard Mansfield <>
parent 7963fb74
......@@ -460,9 +460,11 @@ function upgrade_plugin($upgrade) {
$activity->plugintype = $plugintype;
$activity->pluginname = $pluginname;
$where = $activity;
$where = (object) array(
'name' => $activity->name,
'plugintype' => $plugintype,
'pluginname' => $pluginname,
// Work around the fact that insert_record cached the columns that
// _were_ in the activity_type table before it was upgraded
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