]> git.wh0rd.org - tt-rss.git/commitdiff
new pref: CDM_AUTO_CATCHUP, bump schema
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 6 Mar 2007 06:22:31 +0000 (07:22 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 6 Mar 2007 06:22:31 +0000 (07:22 +0100)
backend.php
schema/versions/mysql/14.sql [new file with mode: 0644]
schema/versions/pgsql/14.sql [new file with mode: 0644]
update.php

index 03f90e2e1b8d46644453be59f005d3782b8d2639..b15101fddfab52498dcf9b6935e41743daa96600 100644 (file)
@@ -12,7 +12,7 @@
        
        error_reporting(DEFAULT_ERROR_LEVEL); */
 
-       define('SCHEMA_VERSION', 13);
+       define('SCHEMA_VERSION', 14);
 
        require_once "sanity_check.php";
        require_once "config.php";
diff --git a/schema/versions/mysql/14.sql b/schema/versions/mysql/14.sql
new file mode 100644 (file)
index 0000000..1000228
--- /dev/null
@@ -0,0 +1,4 @@
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('CDM_AUTO_CATCHUP', 1, 'false', 'Mark articles as read automatically',1,
+'This option enables marking articles as read automatically in combined mode while you scroll article list');
+
+update ttrss_version set schema_version = 14;
diff --git a/schema/versions/pgsql/14.sql b/schema/versions/pgsql/14.sql
new file mode 100644 (file)
index 0000000..1000228
--- /dev/null
@@ -0,0 +1,4 @@
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('CDM_AUTO_CATCHUP', 1, 'false', 'Mark articles as read automatically',1,
+'This option enables marking articles as read automatically in combined mode while you scroll article list');
+
+update ttrss_version set schema_version = 14;
index 514e0104564de2e94c74c685d44009371f72db54..969bfc78dd25caceb951f72e960b944c3f64cbb2 100644 (file)
@@ -24,7 +24,7 @@
                exit;
        }
        
-       define('SCHEMA_VERSION', 13);
+       define('SCHEMA_VERSION', 14);
 
 ?>
 
@@ -150,7 +150,7 @@ function confirmOP() {
                        }
                }
        
-               print "<p>Finished. Performed $num_updates updates up to schema
+               print "<p>Finished. Performed $num_updates update(s) up to schema
                        version $version.</p>";
        
                print "<form method=\"GET\" action=\"tt-rss.php\">