sql/updates/mysql_1.6.0_to_1.6.1.php
branchHEAD
changeset 7428 df55886043f2
parent 7254 6230420fef6d
child 7434 aa322b3c4d3d
     1.1 --- a/sql/updates/mysql_1.6.0_to_1.6.1.php	Mon Aug 24 09:42:00 2009 -0400
     1.2 +++ b/sql/updates/mysql_1.6.0_to_1.6.1.php	Sun Sep 20 11:00:03 2009 +0200
     1.3 @@ -24,6 +24,10 @@
     1.4      $c->add('meta_description','Geeklog, the open source content management system designed with security in mind.','text',0,0,NULL,2010,TRUE);
     1.5      $c->add('meta_keywords','Geeklog, Blog, Content Management System, CMS, Open Source, Security','text',0,0,NULL,2020,TRUE);
     1.6  
     1.7 +    // the timezone config option is a dropdown now
     1.8 +    $utc = addslashes(serialize('UTC')); // change default timezone to UTC
     1.9 +    DB_query("UPDATE {$_TABLES['conf_values']} SET type = 'select', selectionArray = -1, default_value = '$utc' WHERE name = 'timezone' AND group_name = 'Core'");
    1.10 +
    1.11      return true;
    1.12  }
    1.13