Commit dfa4d302 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Fix up container status for blog posts

parent a4f462ed
......@@ -31,6 +31,7 @@ require_once('template.php');
function xmldb_core_upgrade($oldversion=0) {
$status = true;
$prefix = get_config('dbprefix');
if ($oldversion < 2006121400) {
......@@ -171,7 +172,7 @@ function xmldb_core_upgrade($oldversion=0) {
$field->setAttributes(XMLDB_TYPE_INTEGER, 10, false, true, null, null, null, 0);
add_field($table, $field);
execute_sql('UPDATE ' . get_config('dbprefix') . 'usr SET quota=10485760');
execute_sql('UPDATE ' . $prefix . 'usr SET quota=10485760');
}
if ($oldversion < 2007012300) {
......@@ -235,6 +236,12 @@ function xmldb_core_upgrade($oldversion=0) {
upgrade_template('filelist', $template);
}
if ($oldversion < 2007021903) {
execute_sql("UPDATE {$prefix}artefact
SET container = 1
WHERE artefacttype = 'blog'");
}
return $status;
}
......
......@@ -27,7 +27,7 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2007021902;
$config->version = 2007021903;
$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