No need to declare superglobals global
[infodrom.org/www.zeitungsliste.de] / lib / misc.inc
index 55cf877..dedf635 100644 (file)
@@ -1,9 +1,7 @@
-<?
+<?php
 
 function ajax_check_email()
 {
-  global $POST;
-
   include_once('extern/rfc822.php');
 
   if (!empty($_POST['email']) && is_valid_email_address($_POST['email']))
@@ -11,5 +9,3 @@ function ajax_check_email()
 
   return false;
 }
-
-?>
\ No newline at end of file