Silence some error logs

This commit is contained in:
Nathan Gray 2015-01-16 18:08:10 +00:00
parent 0f6eeed9ca
commit 9a2292fc91
3 changed files with 1 additions and 8 deletions

View File

@ -108,7 +108,6 @@
} }
unset($bdays2); unset($extra_accounts_search); unset($bdays2); unset($extra_accounts_search);
unset($month_start); unset($month_end); unset($month_start); unset($month_end);
error_log(array2string($bdays));
if ($bdays) if ($bdays)
{ {
for($n = 0; $n <= $days; ++$n) for($n = 0; $n <= $days; ++$n)

View File

@ -240,7 +240,6 @@ class home_ui
if(is_array($setting) && !array_key_exists('type',$setting)) unset($settings[$key]); if(is_array($setting) && !array_key_exists('type',$setting)) unset($settings[$key]);
} }
$settings += $context; $settings += $context;
error_log(__LINE__ . ' ' . array2string($context));
foreach(home_portlet::$common_attributes as $attr) foreach(home_portlet::$common_attributes as $attr)
{ {
unset($settings[$attr]); unset($settings[$attr]);
@ -491,7 +490,7 @@ class home_ui
*/ */
public function ajax_set_properties($portlet_id, $attributes, $values, $group = false) public function ajax_set_properties($portlet_id, $attributes, $values, $group = false)
{ {
error_log(__METHOD__ . "($portlet_id, " .array2string($attributes).','.array2string($values).",$group)"); //error_log(__METHOD__ . "($portlet_id, " .array2string($attributes).','.array2string($values).",$group)");
if(!$attributes) if(!$attributes)
{ {
$attributes = array(); $attributes = array();
@ -598,8 +597,6 @@ class home_ui
$response->data($update); $response->data($update);
// Store for preference update // Store for preference update
error_log("Storing " . $portlet_id);
error_log(array2string($context));
$prefs->add('home', $portlet_id, $context, $type); $prefs->add('home', $portlet_id, $context, $type);
} }
@ -652,7 +649,6 @@ class home_ui
foreach($portlet_ids as $id) foreach($portlet_ids as $id)
{ {
egw_json_response::get()->call('egw.message', lang("Removed default")); egw_json_response::get()->call('egw.message', lang("Removed default"));
error_log("Clearing $type $group default $id");
$prefs->delete('home',$id, $type); $prefs->delete('home',$id, $type);
} }
} }

View File

@ -39,10 +39,8 @@ function home_upgrade14_1()
} }
if($values['portlets'] && is_array($values['portlets'])) if($values['portlets'] && is_array($values['portlets']))
{ {
error_log("Portlets:");
foreach($values['portlets'] as $id => $settings) foreach($values['portlets'] as $id => $settings)
{ {
error_log($id);
$values["portlet_$id"] = $settings; $values["portlet_$id"] = $settings;
} }
unset($values['portlets']); unset($values['portlets']);