mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
silence error_log on failed connection: tell only on debug==true, as user should be told on ui in anycase
This commit is contained in:
parent
2d303d366a
commit
9e7ddcebaf
@ -2973,7 +2973,7 @@
|
||||
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__." 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(print_r($this->icServer->_connected,true));
|
||||
@ -2981,14 +2981,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);
|
||||
|
Loading…
Reference in New Issue
Block a user