remove debug code
This commit is contained in:
parent
d88f13b55e
commit
a3cb21ba5b
3
mod.php
3
mod.php
@ -1042,7 +1042,6 @@
|
|||||||
|
|
||||||
if($_mod['id'] == $mod['id']) {
|
if($_mod['id'] == $mod['id']) {
|
||||||
// Changed own password. Update cookies
|
// Changed own password. Update cookies
|
||||||
var_dump(login($_mod['username'], $_mod['password'], false));
|
|
||||||
setCookies();
|
setCookies();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2078,5 +2077,7 @@
|
|||||||
|
|
||||||
// Close the connection in-case it's still open
|
// Close the connection in-case it's still open
|
||||||
sql_close();
|
sql_close();
|
||||||
|
|
||||||
|
foreach(array_keys(get_defined_vars()) as $name) if($name[0] != '_') unset(${$name});
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user