]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't show unknown (debug) errors
authorEvan Prodromou <evan@prodromou.name>
Wed, 27 Aug 2008 13:23:46 +0000 (09:23 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 27 Aug 2008 13:23:46 +0000 (09:23 -0400)
darcs-hash:20080827132346-84dde-c5499ac960fbb28bced28ff9355846f7183fcb5c.gz

scripts/xmppdaemon.php

index eef6f0d4bfe51be5cb7350277a7d8b46a8ecd203..07b8d24e5517f90dd174c6bb8f9bb5d862de2fd2 100755 (executable)
@@ -35,10 +35,6 @@ function xmppdaemon_error_handler($errno, $errstr, $errfile, $errline, $errconte
      case E_USER_NOTICE:
                echo "NOTICE [$errno] $errstr ($errfile:$errline)\n";
                break;
-
-     default:
-               echo "Unknown error type: [$errno] $errstr ($errfile:$errline)\n";
-               break;
     }
 
     /* Don't execute PHP internal error handler */