From 382975910393590124089f7ef073b38cec922857 Mon Sep 17 00:00:00 2001 From: Exile Date: Wed, 10 Dec 2014 19:52:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BE=D0=B1=D1=80=D0=B5=D0=B7=D0=BA=D0=BE=D0=B2=20?= =?UTF-8?q?=D1=80=D0=B5=D0=BA=D0=BB=D0=B0=D0=BC=D0=BD=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=BC=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Обновление схемы обновления + переименование неиспользуемого пункта настроек. --- install/upgrade/changes.txt | 6 +++++- library/includes/functions.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/install/upgrade/changes.txt b/install/upgrade/changes.txt index acbed64ed..e3b97aa58 100644 --- a/install/upgrade/changes.txt +++ b/install/upgrade/changes.txt @@ -52,4 +52,8 @@ ALTER TABLE `bb_bt_tracker` ADD `complete` INT(11) NOT NULL DEFAULT '0' AFTER `c // 2.1.5 DROP TABLE IF EXISTS `bb_captcha`; DELETE FROM `bb_cron` WHERE `cron_script` = 'captcha_gen_gc.php'; -INSERT INTO `bb_cron` VALUES ('', '1', 'Accrual seedbonus', 'tr_seed_bonus.php', 'interval', '', '', '25', '', '', '00:15:00', '0', '', '0', '0', '0'); \ No newline at end of file +INSERT INTO `bb_cron` VALUES ('', '1', 'Accrual seedbonus', 'tr_seed_bonus.php', 'interval', '', '', '25', '', '', '00:15:00', '0', '', '0', '0', '0'); + +// 2.1.6 +DROP TABLE IF EXISTS `bb_ads`; +DELETE FROM `bb_config` WHERE `config_name` = 'active_ads'; diff --git a/library/includes/functions.php b/library/includes/functions.php index 9a43699ae..7b132865d 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -175,7 +175,7 @@ $bf['user_opt'] = array( 'dis_passkey' => 7, // Запрет на добавление passkey, он же запрет на скачивание торрентов 'user_porn_forums' => 8, // Скрывать контент 18+ 'user_callseed' => 9, // Позвать скачавших - 'user_hide_ads' => 10, // TODO: не используется + 'user_empty' => 10, // TODO: не используется 'dis_topic' => 11, // Запрет на создание новых тем 'dis_post' => 12, // Запрет на отправку сообщений 'dis_post_edit' => 13, // Запрет на редактирование сообщений