Commit b1f8c3c9 authored by Penny Leach's avatar Penny Leach
Browse files

added new activitytype viewaccess

parent 19bfa3b2
......@@ -820,6 +820,7 @@
<SENTENCE TEXT="(name, admin, delay) VALUES ('feedback', 0, 0)" />
<SENTENCE TEXT="(name, admin, delay) VALUES ('watchlist', 0, 1)" />
<SENTENCE TEXT="(name, admin, delay) VALUES ('newview', 0, 1)" />
<SENTENCE TEXT="(name, admin, delay) VALUES ('viewaccess', 0, 1)" />
<SENTENCE TEXT="(name, admin, delay) VALUES ('contactus', 1, 1)" />
<SENTENCE TEXT="(name, admin, delay) VALUES ('objectionable', 1, 1)" />
<SENTENCE TEXT="(name, admin, delay) VALUES ('virusrepeat', 1, 1)" />
......
......@@ -181,6 +181,14 @@ function xmldb_core_upgrade($oldversion=0) {
insert_record('cron', $c);
}
if ($oldversion < 2007012301) {
$at = new StdClass;
$at->name = 'viewaccess';
$at->admin = 0;
$at->delay = 1;
insert_record('activity_type', $at);
}
return $status;
}
......
......@@ -27,7 +27,7 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2007012300;
$config->version = 2007012301;
$config->release = '0.4.1';
$config->minupgradefrom = 2006121501;
$config->minupgraderelease = '0.1 (build tag BUILD_20061215)';
......
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