summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-04-22 20:54:52 +1000
committerSavetheinternet <savetheinternet@n0v4.com>2011-04-22 20:54:52 +1000
commita3cb21ba5b1dce89ee9c616d1e5552b62fbd4632 (patch)
tree66e841849fa96d9f0edbcfd2d80e1d3606fcbeff /mod.php
parentd88f13b55e758bb5cbb161df861f0bbda5bf1a6d (diff)
remove debug code
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index 89085d66..3a21e7fd 100644
--- a/mod.php
+++ b/mod.php
@@ -1042,7 +1042,6 @@
if($_mod['id'] == $mod['id']) {
// Changed own password. Update cookies
- var_dump(login($_mod['username'], $_mod['password'], false));
setCookies();
}
}
@@ -2078,5 +2077,7 @@
// Close the connection in-case it's still open
sql_close();
+
+ foreach(array_keys(get_defined_vars()) as $name) if($name[0] != '_') unset(${$name});
?>