includes/sessions.php
changeset 440 105457df35e5
parent 338 915d399dfdbf
child 458 c433348f3628
--- a/includes/sessions.php	Thu Dec 27 11:35:00 2007 -0500
+++ b/includes/sessions.php	Mon Dec 31 21:16:27 2007 -0500
@@ -1663,7 +1663,6 @@
     unset($sidbak);
     $message .= "$prot://".$_SERVER['HTTP_HOST'].$p.$aklink;
       $message .= "\n\nSincerely yours, \n$admin_user and the ".$_SERVER['HTTP_HOST']." administration team";
-    error_reporting(E_ALL);
     if(getConfig('smtp_enabled') == '1')
     {
       $result = smtp_send_email($r['email'], getConfig('site_name').' website account activation', preg_replace("#(?<!\r)\n#s", "\n", $message), getConfig('contact_email'));
@@ -1736,8 +1735,6 @@
 -------------------------------- Cut here --------------------------------';
     $message .= "\n\nSincerely yours, \n$admin_user and the ".$_SERVER['HTTP_HOST']." administration team";
     
-    error_reporting(E_ALL);
-    
     if(getConfig('smtp_enabled') == '1')
     {
       $result = smtp_send_email($r['email'], getConfig('site_name').' website account activation', preg_replace("#(?<!\r)\n#s", "\n", $message), getConfig('contact_email'));