Commit 44c47313 authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Add events for views

parent 960da0fa
......@@ -834,6 +834,8 @@
<SENTENCE TEXT="(name) VALUES ('activateuser')" />
<SENTENCE TEXT="(name) VALUES ('saveartefact')" />
<SENTENCE TEXT="(name) VALUES ('deleteartefact')" />
<SENTENCE TEXT="(name) VALUES ('saveview')" />
<SENTENCE TEXT="(name) VALUES ('deleteview')" />
</SENTENCES>
</STATEMENT>
<STATEMENT NAME="insert activity types" TYPE="insert" TABLE="activity_type">
......
......@@ -224,6 +224,11 @@ function xmldb_core_upgrade($oldversion=0) {
upgrade_template('gallery', $template);
}
if ($oldversion < 2007021900) {
insert_record('event_type', (object)array('name' => 'saveview'));
insert_record('event_type', (object)array('name' => 'deleteview'));
}
return $status;
}
......
......@@ -27,7 +27,7 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2007021600;
$config->version = 2007021900;
$config->release = '0.7.0.dev';
$config->minupgradefrom = 2007011600;
$config->minupgraderelease = '0.4.0 (build tag BUILD_20070122)';
......
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