[20964] Fix: remove obsolete code

Sigurd Nes <[email protected]> Wed, 13 Jan 2010 22:39:37 +0000
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 20964
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20964
Author:   sigurdne
Date:     2010-01-13 22:39:37 +0000 (Wed, 13 Jan 2010)
Log Message:
-----------
Fix: remove obsolete code

Modified Paths:
--------------
    people/sigurdne/modules/property/trunk/inc/class.uiwo_hour.inc.php

Modified: people/sigurdne/modules/property/trunk/inc/class.uiwo_hour.inc.php
===================================================================
--- people/sigurdne/modules/property/trunk/inc/class.uiwo_hour.inc.php	2010-01-13 22:38:46 UTC (rev 20963)
+++ people/sigurdne/modules/property/trunk/inc/class.uiwo_hour.inc.php	2010-01-13 22:39:37 UTC (rev 20964)
@@ -1427,15 +1427,11 @@
 					exit;
 				}
 
-				$headers = "Return-Path: <". $from_email .">\r\n";
-				$headers .= "From: " . $from_name . "<" . $from_email .">\r\n";
 				if($GLOBALS['phpgw_info']['user']['preferences']['property']['order_email_rcpt']==1)
 				{
-					$headers .= "Bcc: " . $from_name . "<" . $from_email .">\r\n";
 					$bcc = $from_email;
 				}
-				$headers .= "Content-type: text/html; charset=utf-8\r\n";
-				$headers .= "MIME-Version: 1.0\r\n";
+
 				$subject = lang('Workorder').": ".$workorder_id;
 
 				$attachment_log = '';