More globals rewritten, see #100
[mailer.git] / view.php
index 7c311fac6ffbb285986028ccae50ba84f15946c3..f1d85629297c6b81592ddff4216a37ae0665c4bb 100644 (file)
--- a/view.php
+++ b/view.php
 require("inc/libs/security_functions.php");
 
 // Init "action" and "what"
-global $what, $action;
-$GLOBALS['what'] = ""; $GLOBALS['action'] = "";
+$GLOBALS['what'] = "";
+$GLOBALS['action'] = "";
 
 // Set module
-$GLOBALS['module'] = "view"; $GLOBALS['output_mode'] = -1;
+$GLOBALS['module'] = "view";
+$GLOBALS['output_mode'] = -1;
 
 // Load the required file(s)
 require("inc/config.php");