]> git.wh0rd.org - tt-rss.git/commitdiff
change description of HIDE_READ_FEEDS
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Mar 2013 08:41:31 +0000 (12:41 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Mar 2013 08:41:31 +0000 (12:41 +0400)
include/functions.php
schema/ttrss_schema_mysql.sql
schema/ttrss_schema_pgsql.sql
schema/versions/mysql/109.sql [new file with mode: 0644]
schema/versions/pgsql/109.sql [new file with mode: 0644]

index c0fccf25e8db03611d01b10d71aa685a9cc14efd..9125247b12a1f6edaea4f45a33bf6e0b6d09b39b 100644 (file)
@@ -1,6 +1,6 @@
 <?php
        define('EXPECTED_CONFIG_VERSION', 26);
-       define('SCHEMA_VERSION', 108);
+       define('SCHEMA_VERSION', 109);
 
        define('LABEL_BASE_INDEX', -1024);
 
index 2c7a559cab144a2754dba7fab6ebc24857c8243a..bbc70a5ead423a443cff285a030c9859212a4114 100644 (file)
@@ -291,7 +291,7 @@ create table ttrss_tags (id integer primary key auto_increment,
 
 create table ttrss_version (schema_version int not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
 
-insert into ttrss_version values (108);
+insert into ttrss_version values (109);
 
 create table ttrss_enclosures (id integer primary key auto_increment,
        content_url text not null,
@@ -357,7 +357,7 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) valu
 
 insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('COMBINED_DISPLAY_MODE', 1, 'false', 'Combined feed display',2, 'Display expanded list of feed articles, instead of separate displays for headlines and article content');
 
-insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('HIDE_READ_FEEDS', 1, 'false', 'Hide feeds with no unread messages',2);
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('HIDE_READ_FEEDS', 1, 'false', 'Hide feeds with no unread articles',2);
 
 insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('ON_CATCHUP_SHOW_NEXT_FEED', 1, 'false', 'On catchup show next feed',2, 'Automatically open next feed with unread articles after marking one as read');
 
index a3c114563cc3a3ea0bb26d4a5b6317a170a54d27..004fd086ace4e15a0a1f5d59810e016745cef509 100644 (file)
@@ -249,7 +249,7 @@ create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id);
 
 create table ttrss_version (schema_version int not null);
 
-insert into ttrss_version values (108);
+insert into ttrss_version values (109);
 
 create table ttrss_enclosures (id serial not null primary key,
        content_url text not null,
@@ -307,7 +307,7 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) valu
 
 insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('COMBINED_DISPLAY_MODE', 1, 'false', 'Combined feed display',2, 'Display expanded list of feed articles, instead of separate displays for headlines and article content');
 
-insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('HIDE_READ_FEEDS', 1, 'false', 'Hide feeds with no unread messages',2);
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('HIDE_READ_FEEDS', 1, 'false', 'Hide feeds with no unread articles',2);
 
 insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('ON_CATCHUP_SHOW_NEXT_FEED', 1, 'false', 'On catchup show next feed',2, 'Automatically open next feed with unread articles after marking one as read');
 
diff --git a/schema/versions/mysql/109.sql b/schema/versions/mysql/109.sql
new file mode 100644 (file)
index 0000000..77e883c
--- /dev/null
@@ -0,0 +1,7 @@
+begin;
+
+update ttrss_prefs set short_desc = 'Hide feeds with no unread articles' where pref_name = 'HIDE_READ_FEEDS';
+
+update ttrss_version set schema_version = 109;
+
+commit;
diff --git a/schema/versions/pgsql/109.sql b/schema/versions/pgsql/109.sql
new file mode 100644 (file)
index 0000000..77e883c
--- /dev/null
@@ -0,0 +1,7 @@
+begin;
+
+update ttrss_prefs set short_desc = 'Hide feeds with no unread articles' where pref_name = 'HIDE_READ_FEEDS';
+
+update ttrss_version set schema_version = 109;
+
+commit;