mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Silence some error logs
This commit is contained in:
parent
0f6eeed9ca
commit
9a2292fc91
@ -108,7 +108,6 @@
|
||||
}
|
||||
unset($bdays2); unset($extra_accounts_search);
|
||||
unset($month_start); unset($month_end);
|
||||
error_log(array2string($bdays));
|
||||
if ($bdays)
|
||||
{
|
||||
for($n = 0; $n <= $days; ++$n)
|
||||
|
@ -240,7 +240,6 @@ class home_ui
|
||||
if(is_array($setting) && !array_key_exists('type',$setting)) unset($settings[$key]);
|
||||
}
|
||||
$settings += $context;
|
||||
error_log(__LINE__ . ' ' . array2string($context));
|
||||
foreach(home_portlet::$common_attributes as $attr)
|
||||
{
|
||||
unset($settings[$attr]);
|
||||
@ -491,7 +490,7 @@ class home_ui
|
||||
*/
|
||||
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)
|
||||
{
|
||||
$attributes = array();
|
||||
@ -598,8 +597,6 @@ class home_ui
|
||||
$response->data($update);
|
||||
|
||||
// Store for preference update
|
||||
error_log("Storing " . $portlet_id);
|
||||
error_log(array2string($context));
|
||||
$prefs->add('home', $portlet_id, $context, $type);
|
||||
}
|
||||
|
||||
@ -652,7 +649,6 @@ class home_ui
|
||||
foreach($portlet_ids as $id)
|
||||
{
|
||||
egw_json_response::get()->call('egw.message', lang("Removed default"));
|
||||
error_log("Clearing $type $group default $id");
|
||||
$prefs->delete('home',$id, $type);
|
||||
}
|
||||
}
|
||||
|
@ -39,10 +39,8 @@ function home_upgrade14_1()
|
||||
}
|
||||
if($values['portlets'] && is_array($values['portlets']))
|
||||
{
|
||||
error_log("Portlets:");
|
||||
foreach($values['portlets'] as $id => $settings)
|
||||
{
|
||||
error_log($id);
|
||||
$values["portlet_$id"] = $settings;
|
||||
}
|
||||
unset($values['portlets']);
|
||||
|
Loading…
Reference in New Issue
Block a user