mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
chore: Bootstrap refactoring
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -26,7 +26,7 @@ namespace SP\Modules\Web\Controllers\ConfigBackup;
|
||||
|
||||
|
||||
use Exception;
|
||||
use SP\Core\Context\SessionContext;
|
||||
use SP\Core\Context\Session;
|
||||
use SP\Core\Events\Event;
|
||||
use SP\Core\Events\EventMessage;
|
||||
use SP\Domain\Core\Acl\AclActionsInterface;
|
||||
@@ -51,7 +51,7 @@ final class DownloadExportController extends SimpleControllerBase
|
||||
public function downloadExportAction(): string
|
||||
{
|
||||
try {
|
||||
SessionContext::close();
|
||||
Session::close();
|
||||
|
||||
$filePath = XmlExport::buildFilename(
|
||||
BACKUP_PATH,
|
||||
|
||||
Reference in New Issue
Block a user