From 68365188585ae34d508eff8c0e18290215dea8fe Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 14 Mar 2011 17:50:22 +0000 Subject: [PATCH] removed unnecessary refresh_table from update, as it makes problems with PostgreSQL --- json.php | 4 ++-- login.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/json.php b/json.php index fcdd1586da..9ce8ade63a 100644 --- a/json.php +++ b/json.php @@ -41,7 +41,7 @@ function ajax_exception_handler(Exception $e) } $response = new egw_json_response(); $message .= ($message ? "\n\n" : '').$e->getMessage(); - + // only show trace (incl. function arguments) if explicitly enabled, eg. on a development system if ($GLOBALS['egw_info']['server']['exception_show_trace']) { @@ -71,7 +71,7 @@ if (isset($_GET['menuaction'])) { @list($appName, $className, $functionName, $handler) = explode('.',$_GET['menuaction']); } - //error_log("xajax.php: appName=$appName, className=$className, functionName=$functionName, handler=$handler"); + //error_log("json.php: appName=$appName, className=$className, functionName=$functionName, handler=$handler"); $GLOBALS['egw_info'] = array( 'flags' => array( diff --git a/login.php b/login.php index eeb32e670e..81222af599 100755 --- a/login.php +++ b/login.php @@ -346,7 +346,7 @@ else } // Check for save passwd - if($GLOBALS['egw_info']['server']['check_save_passwd'] && $GLOBALS['egw']->acl->check('changepassword', 1, 'preferences') && + if($GLOBALS['egw_info']['server']['check_save_passwd'] && $GLOBALS['egw']->acl->check('changepassword', 1, 'preferences') && ($unsave_msg = $GLOBALS['egw']->auth->crackcheck($passwd))) { $GLOBALS['egw']->log->write(array('text'=>'D-message, User '. $login. ' authenticated with an unsave password','file' => __FILE__,'line'=>__LINE__));