Code

Updated user logging
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Nov 2007 08:17:27 +0000 (08:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Nov 2007 08:17:27 +0000 (08:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7862 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/class_user.inc

index 6437f1dd9452694874bc0cd197cce1aed39b6d9e..12bffa95b1652f24b2a32e552129bea3969aed0a 100644 (file)
@@ -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 */