mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
Destroy user view on delete()
This commit is contained in:
parent
69cf021fc7
commit
afbc4f101d
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue