Destroy user view on delete()

This commit is contained in:
Serghey Rodin 2013-08-19 11:37:06 +03:00
commit afbc4f101d

View file

@ -15,6 +15,7 @@ if ($_SESSION['user'] == 'admin') {
if (empty($error)) $error = __('Error: vesta did not return any output.');
$_SESSION['error_msg'] = $error;
}
unset($_SESSION['look']);
unset($output);
}