From 69d47936abc6a78a4440a5118377c49df91d3b6a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 18 Jan 2009 11:35:18 +0100 Subject: [PATCH] initialize_user: create example label and a filter --- functions.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/functions.php b/functions.php index cae25525..7eb8dd40 100644 --- a/functions.php +++ b/functions.php @@ -1836,6 +1836,14 @@ function initialize_user($link, $uid) { + db_query($link, "INSERT INTO ttrss_labels2 (owner_uid, caption) + VALUES ('$uid', 'All Articles')"); + + db_query($link, "INSERT INTO ttrss_filters + (owner_uid, feed_id, filter_type, reg_exp, enabled, + action_id, action_param, filter_param) + VALUES ('$uid', NULL, 1, '.', true, 7, 'All Articles', 'before')"); + db_query($link, "insert into ttrss_feeds (owner_uid,title,feed_url) values ('$uid', 'Tiny Tiny RSS: New Releases', 'http://tt-rss.org/releases.rss')"); -- 2.39.5