mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 16:36:59 +01:00
chore: Bootstrap refactoring
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -27,7 +27,7 @@ namespace SP\Modules\Web\Controllers\ConfigBackup;
|
||||
|
||||
use Exception;
|
||||
use SP\Core\Application;
|
||||
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;
|
||||
@@ -70,7 +70,7 @@ final class FileBackupController extends SimpleControllerBase
|
||||
}
|
||||
|
||||
try {
|
||||
SessionContext::close();
|
||||
Session::close();
|
||||
|
||||
$this->fileBackupService->doBackup(BACKUP_PATH);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user