From 48748d3885475e0c91b0b1b704a759f35527999f Mon Sep 17 00:00:00 2001 From: Denis Ryabov Date: Fri, 28 Feb 2014 10:44:43 +0400 Subject: [PATCH] remove debug and env-specific codes --- habr_twister.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/habr_twister.php b/habr_twister.php index 5a95aa6..2febf5e 100644 --- a/habr_twister.php +++ b/habr_twister.php @@ -1,15 +1,6 @@ twisterPath = '.' . DIRECTORY_SEPARATOR . 'twister-win32-bundle' . DIRECTORY_SEPARATOR; -// Note: we use custom rpc port for twister -$twister->rpcport = 40001; // Initialise RSS database require_once 'habrrssdb.php'; @@ -42,10 +31,7 @@ foreach ($rss->channel->item as $item) { $msg = $twister->prettyPrint($title, $link, isset($item->category) ? $item->category : null); -/**/debugLog($msg); if ($twister->postMessage($msg)) { $db->setPublished($id); } } - -/**/debugLog('=== Done ==='); \ No newline at end of file