From e084a82757166601287bd2746935ad125d0607ef Mon Sep 17 00:00:00 2001 From: lisa Date: Wed, 28 Jan 2009 08:49:33 +0000 Subject: [PATCH] left in some debug code, removed --- e107_plugins/list_new/list_admin_class.php | 36 ++-------------------- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/e107_plugins/list_new/list_admin_class.php b/e107_plugins/list_new/list_admin_class.php index 20f67171c..79b486249 100644 --- a/e107_plugins/list_new/list_admin_class.php +++ b/e107_plugins/list_new/list_admin_class.php @@ -9,8 +9,8 @@ * List Admin Class * * $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_admin_class.php,v $ - * $Revision: 1.3 $ - * $Date: 2009-01-28 08:47:37 $ + * $Revision: 1.4 $ + * $Date: 2009-01-28 08:49:33 $ * $Author: lisa_ $ * */ @@ -42,34 +42,6 @@ class list_admin $this->parent = $parent; } - /* - function logArrayDiffs(&$new, &$old, $event) - { - $changes = array(); - foreach ($new as $k => $v) - { - if(is_array($v) && is_array($old[$k])) - { - logArrayDiffs(&$new[$k], &$old[$k], $event); - } - else - { - if ($v != $old[$k]) - { - $old[$k] = $v; - $changes[] = $k.'=>'.$v; - } - } - } - if (count($changes)) - { - print_a($changes); - return TRUE; - } - return FALSE; - } - */ - /** * database update settings * @@ -85,10 +57,6 @@ class list_admin { if($value != LIST_ADMIN_2){ $temp[$this->e107->tp->toDB($key)] = $this->e107->tp->toDB($value); } } - print_a($temp); - print_a($list_pref); - $this->logArrayDiffs($temp, $list_pref, 'LISTNEW_01'); - if ($this->e107->admin_log->logArrayDiffs($temp, $list_pref, 'LISTNEW_01')) { $tmp = $this->e107->arrayStorage->WriteArray($list_pref);