R36671 - /trunk/felamimail/inc/class.felamimail_bo.inc.php

Author: leithoff
New Revision: 36671

URL: http://svn.stylite.de/viewvc/egroupware?rev=36671&view=rev
Log:
silence error_log on failed connection: tell only on debug==true, as user should be told on ui in anycase

Modified:
trunk/felamimail/inc/class.felamimail_bo.inc.php

Modified: trunk/felamimail/inc/class.felamimail_bo.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/felamimail/inc/class.felamimail_bo.inc.php?rev=36671&r1=36670&r2=36671&view=diff

— trunk/felamimail/inc/class.felamimail_bo.inc.php (original)
+++ trunk/felamimail/inc/class.felamimail_bo.inc.php Wed Sep 21 13:07:59 2011
@@ -3370,7 +3370,7 @@
//error_log(METHOD.LINE.’->’.$_icServerID.’ called from '.function_backtrace());
if (!is_object($this->mailPreferences))
{

  •   		error_log(__METHOD__." No Object for MailPreferences found.". function_backtrace());
    
  •   		if (self::$debug) error_log(__METHOD__." No Object for MailPreferences found.". function_backtrace());
      		$this->errorMessage .= lang('No valid data to create MailProfile!!');
      		$isError[$_icServerID] = new PEAR_Error($this->errorMessage);
      		return false;
    

@@ -3405,7 +3405,11 @@
if ( PEAR::isError($tretval) || $tretval===false)
{
$isError[$_icServerID] = $this->icServer->_connectionErrorObject;

  •   			error_log(__METHOD__." failed to open new Connection ProfileID:".$_icServerID.' Status:'.print_r($this->icServer->_connected,true).' Message:'.$this->icServer->_connectionErrorObject->message.' called from '.function_backtrace());
    
  •   			if (self::$debug)
    
  •   			{
    
  •   				error_log(__METHOD__.__LINE__." # failed to open new Connection ProfileID:".$_icServerID.' Status:'.print_r($this->icServer->_connected,true).' Message:'.$this->icServer->_connectionErrorObject->message.' called from '.function_backtrace());
    
  •   				error_log(__METHOD__.__LINE__.' # Instance='.$GLOBALS['egw_info']['user']['domain'].', User='.$GLOBALS['egw_info']['user']['account_lid']);
    
  •   			}
      		}
      	}
      	//error_log(print_r($this->icServer->_connected,true));
    

@@ -3413,14 +3417,14 @@
}

	/**
  •   * rename a folder
    
  •   *
    
  •   * @param string _oldFolderName the old foldername
    
  •   * @param string _parent the parent foldername
    
  •   * @param string _folderName the new foldername
    
  •   *
    
  •   * @return mixed name of the newly created folder or false on error
    
  •   */
    
  •    * rename a folder
    
  •    *
    
  •    * @param string _oldFolderName the old foldername
    
  •    * @param string _parent the parent foldername
    
  •    * @param string _folderName the new foldername
    
  •    *
    
  •    * @return mixed name of the newly created folder or false on error
    
  •    */
      function renameFolder($_oldFolderName, $_parent, $_folderName)
      {
      	$oldFolderName	= $this->_encodeFolderName($_oldFolderName);
    

All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs