From a7ff2fc7fbfc76504a73e5b8ddb8469f7427f94b Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 23 Nov 2007 08:17:27 +0000 Subject: [PATCH] Updated user logging git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7862 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/generic/class_user.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 6437f1dd9..12bffa95b 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -879,22 +879,22 @@ class user extends plugin /* Load the new uploaded Photo */ if(!$handle = imagick_blob2image($this->photoData)) { - new log("debug","users/".get_class($this),"",array(),"Could not access uploaded image"); + new log("debug","users/".get_class($this),$this->dn,array(),"Could not access uploaded image"); } /* Resizing image to 147x200 and blur */ if(!imagick_resize($handle,147,200,IMAGICK_FILTER_GAUSSIAN,0)){ - new log("debug","users/".get_class($this),"",array(),"Could not resize uploaded image"); + new log("debug","users/".get_class($this),$this->dn,array(),"Could not resize uploaded image"); } /* Converting image to JPEG */ if(!imagick_convert($handle,"JPEG")) { - new log("debug","users/".get_class($this),"",array(),"Could not convert uploaded image to jepg"); + new log("debug","users/".get_class($this),$this->dn,array(),"Could not convert uploaded image to jepg"); } /* Creating binary Code for the Image */ if(!$dump = imagick_image2blob($handle)){ - new log("debug","users/".get_class($this),"",array(),"Could not create new user image"); + new log("debug","users/".get_class($this),$this->dn,array(),"Could not create new user image"); } /* Sending Image */ -- 2.30.2