reverted accidently commited changes in infolog

This commit is contained in:
Ralf Becker 2014-02-04 13:52:12 +00:00
parent 84d20661c2
commit eaf5d3d39b
3 changed files with 2 additions and 6 deletions

View File

@ -610,7 +610,6 @@ class infolog_bo
// pre-cache title and file access
self::set_link_cache($data);
}
error_log(__METHOD__."() mb_strlen(info_subject='{$this->data['info_subject']}')=".mb_strlen($this->data['info_subject']));
return $data;
}
@ -711,7 +710,6 @@ error_log(__METHOD__."() mb_strlen(info_subject='{$this->data['info_subject']}')
function write(&$values_in, $check_defaults=true, $touch_modified=true, $user2server=true,
$skip_notification=false, $throw_exception=false, $purge_cfs=null)
{
error_log(__METHOD__."() mb_strlen(info_subject='$values_in[info_subject]')=".mb_strlen($values_in['info_subject']));
$values = $values_in;
//echo "boinfolog::write()values="; _debug_array($values);
if (!$values['info_id'] && !$this->check_access(0,EGW_ACL_EDIT,$values['info_owner']) &&

View File

@ -409,7 +409,6 @@ class infolog_so
$this->data['#'.$row['info_extra_name']] = $row['info_extra_value'];
}
//error_log(__METHOD__.'('.array2string($where).') returning '.array2string($this->data));
error_log(__METHOD__."() mb_strlen(info_subject='{$this->data['info_subject']}')=".mb_strlen($this->data['info_subject']));
return $this->data;
}

View File

@ -1557,7 +1557,6 @@ class infolog_ui
{
if (($submit = is_array($content)))
{
error_log(__METHOD__."() mb_strlen(info_subject='$content[info_subject]')=".mb_strlen($content['info_subject']));
//echo "infolog_ui::edit: content="; _debug_array($content);
$info_id = $content['info_id'];
$action = $content['action']; unset($content['action']);
@ -1752,7 +1751,7 @@ error_log(__METHOD__."() mb_strlen(info_subject='$content[info_subject]')=".mb_s
$content = $this->bo->read( $info_id || $action != 'sp' ? $info_id : $action_id );
if (!(strpos($content['info_addr'],',')===false) && strpos($content['info_addr'],', ')===false) $content['info_addr'] = str_replace(',',', ',$content['info_addr']);
/* foreach(array('info_subject', 'info_des') as $key)
foreach(array('info_subject', 'info_des') as $key)
{
if(!isset($content[$key]) || strlen($content[$key]) < 75)
{
@ -1790,7 +1789,7 @@ error_log(__METHOD__."() mb_strlen(info_subject='$content[info_subject]')=".mb_s
}
$content[$key] = join("\n",$clarray);
unset($clarray);
}*/
}
if (is_numeric($_REQUEST['cat_id']))
{
$content['info_cat'] = (int) $_REQUEST['cat_id'];