From 5f18edc936a0fa04ec4ddbfed049167ba0f1829b Mon Sep 17 00:00:00 2001 From: Exile Date: Fri, 15 Aug 2014 10:16:49 +0400 Subject: [PATCH] Remove chat drafts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Удаляем заготовки для чата, раньше времени включенные в основную ветку. Чат отдельной веткой разрабатывается и будет включен только после 600 ревизии. --- upload/ajax.php | 7 ------- upload/ajax/chat.php | 5 ----- upload/includes/init_bb.php | 1 - 3 files changed, 13 deletions(-) delete mode 100644 upload/ajax/chat.php diff --git a/upload/ajax.php b/upload/ajax.php index 34845418f..8b3d2ba2e 100644 --- a/upload/ajax.php +++ b/upload/ajax.php @@ -32,7 +32,6 @@ switch ($ajax->action) require(INC_DIR . 'bbcode.php'); break; - case 'chat': case 'posts': case 'post_mod_comment': require(INC_DIR . 'bbcode.php'); @@ -99,7 +98,6 @@ class ajax_common 'post_mod_comment' => array('mod'), 'avatar' => array('user'), - 'chat' => array('user'), 'gen_passkey' => array('user'), 'change_torrent' => array('user'), 'change_tor_status' => array('user'), @@ -416,11 +414,6 @@ class ajax_common require(AJAX_DIR . 'avatar.php'); } - function chat() - { - require(AJAX_DIR . 'chat.php'); - } - function sitemap() { require(AJAX_DIR .'sitemap.php'); diff --git a/upload/ajax/chat.php b/upload/ajax/chat.php deleted file mode 100644 index 17cdec17a..000000000 --- a/upload/ajax/chat.php +++ /dev/null @@ -1,5 +0,0 @@ -