mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -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.');
|
if (empty($error)) $error = __('Error: vesta did not return any output.');
|
||||||
$_SESSION['error_msg'] = $error;
|
$_SESSION['error_msg'] = $error;
|
||||||
}
|
}
|
||||||
|
unset($_SESSION['look']);
|
||||||
unset($output);
|
unset($output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue