Commit 3e4e2cfe authored by Nigel McNie's avatar Nigel McNie
Browse files

Upgrade to remove much of the watchlist stuff we don't need anymore

parent d88b7469
......@@ -610,6 +610,20 @@ function xmldb_core_upgrade($oldversion=0) {
}
}
if ($oldversion < 2007072803) {
// Remove watchlist functionality apart from watching views
$table = new XMLDBTable('usr_watchlist_group');
drop_table($table);
$table = new XMLDBTable('usr_watchlist_artefact');
drop_table($table);
$table = new XMLDBTable('usr_watchlist_view');
$field = new XMLDBField('recurse');
$field->setAttributes(XMLDB_TYPE_INTEGER, 1, false, true, false, null, null, 1);
drop_field($table, $field);
}
return $status;
}
......
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