diff options
author | Andrew Dolgov <[email protected]> | 2009-02-10 11:50:39 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-02-10 11:50:39 +0300 |
commit | 5de926d8cc4eb577c98402c37c31737d3ca8e829 (patch) | |
tree | 9d356711a0c8284c59ef62b9b449fdf4b992dfaf /functions.php | |
parent | 59b223d74d7a56e253c728bd4a0175a1526d8618 (diff) |
new option: ENABLE_OFFLINE_READING (bump schema)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 748cc6156..21355f782 100644 --- a/functions.php +++ b/functions.php @@ -3013,7 +3013,8 @@ print "<param key=\"sync_counters\" value=\"1\"/>"; - print "<param key=\"offline_enabled\" value=\"0\"/>"; + print "<param key=\"offline_enabled\" value=\"". + (int) get_pref($link, "ENABLE_OFFLINE_READING") . "\"/>"; $result = db_query($link, "SELECT COUNT(*) AS cf FROM ttrss_feeds WHERE owner_uid = " . $_SESSION["uid"]); |