From 7e8c5b8ed47aa1e49f4ca65d79f9796b6656bbd5 Mon Sep 17 00:00:00 2001 From: kirsan Date: Mon, 23 May 2011 14:01:06 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B0=D1=82=D1=87=D0=B8=20=D0=BF=D0=BE?= =?UTF-8?q?=20=D0=BB=D0=B5=D0=BD=D1=82=D0=B5=20=D1=82=D0=BE=D0=BF=D0=B8?= =?UTF-8?q?=D0=BA=D0=BE=D0=B2=20=D0=B4=D0=BB=D1=8F=20=D0=B1=D0=B0=D0=B7?= =?UTF-8?q?=D1=8B=20=D0=B8=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- patch.config.php | 3 +++ patch.sql | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 patch.config.php create mode 100644 patch.sql diff --git a/patch.config.php b/patch.config.php new file mode 100644 index 00000000..26c411b9 --- /dev/null +++ b/patch.config.php @@ -0,0 +1,3 @@ +$config['router']['page']['feed'] = 'ActionUserfeed'; +$config['db']['table']['userfeed_subscribe'] = '___db.table.prefix___userfeed_subscribe'; +$config['module']['userfeed']['count_default'] = 10; // Число топиков в ленте по умолчанию diff --git a/patch.sql b/patch.sql new file mode 100644 index 00000000..292244a3 --- /dev/null +++ b/patch.sql @@ -0,0 +1,5 @@ +CREATE TABLE `soc_userfeed_subscribe` ( + `user_id` int(11) NOT NULL, + `subscribe_type` tinyint(4) NOT NULL, + `target_id` int(11) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8