This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "quickfw".
The branch, master has been updated
via 07da8658a0698e65a4be9da195033392da7ce013 (commit)
from 32a7203e2796d9bf46791d9aa344451d29997b36 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 07da8658a0698e65a4be9da195033392da7ce013
Author: Ivan1986 <iva...@li...>
Date: Thu Jun 17 16:23:55 2010 +0400
Ушло лишнее
diff --git a/lib/DbSimple/Connect.php b/lib/DbSimple/Connect.php
index db6a7d6..738f195 100644
--- a/lib/DbSimple/Connect.php
+++ b/lib/DbSimple/Connect.php
@@ -128,15 +128,7 @@ class DbSimple_Connect
{
// Если использовалась @, ничего не делать.
if (!error_reporting()) return;
- if (!empty($GLOBALS['prod']) || (defined('IN_CRON') && IN_CRON) )
- {
- error_log(date('Y-m-d H:i:s').': '.$msg."\n",
- 3, ROOTPATH.'/log/sql.log');
- error_log(date('Y-m-d H:i:s').': '.print_r($info, true)."\n",
- 3, ROOTPATH.'/log/sql.log');
- redirect('/forum/');
- }
- if (class_exists('QFW') && QFW::$config['QFW']['release'])
+ if (QFW::$config['QFW']['release'])
{
require_once LIBPATH.'/Log.php';
Log::log('SQL Error - '.$msg,'sql');
-----------------------------------------------------------------------
Summary of changes:
lib/DbSimple/Connect.php | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
hooks/post-receive
--
quickfw
|