]> git.wh0rd.org - tt-rss.git/blobdiff - backend.php
add persistent storage for toolbar view options, bump schema
[tt-rss.git] / backend.php
index b15101fddfab52498dcf9b6935e41743daa96600..45c9780234416d78fe1264d7017c3df3af855d7c 100644 (file)
@@ -12,7 +12,7 @@
        
        error_reporting(DEFAULT_ERROR_LEVEL); */
 
-       define('SCHEMA_VERSION', 14);
+       define('SCHEMA_VERSION', 15);
 
        require_once "sanity_check.php";
        require_once "config.php";
 
                if (!$offset) $offset = 0;
 
+               set_pref($link, "_DEFAULT_VIEW_MODE", $view_mode);
+               set_pref($link, "_DEFAULT_VIEW_LIMIT", $limit);
+
                if ($subop == "undefined") $subop = "";
 
                if ($subop == "CatchupSelected") {