mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-23 08:46:49 +01:00
* [MOD] Improved database checking
* [ADD] Added plugin removal when it isn't available * [FIX] Minor bugfixes Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
@@ -45,7 +45,6 @@ use SP\Services\User\UserService;
|
||||
use SP\Services\UserGroup\UserGroupService;
|
||||
use SP\Services\UserProfile\UserProfileService;
|
||||
use SP\Storage\Database\DatabaseUtil;
|
||||
use SP\Storage\Database\DBStorageInterface;
|
||||
use SP\Storage\File\FileException;
|
||||
use SP\Storage\File\FileHandler;
|
||||
use SP\Util\Util;
|
||||
@@ -345,7 +344,9 @@ final class ConfigManagerController extends ControllerBase
|
||||
$template->setBase('config');
|
||||
$template->addTemplate('info');
|
||||
|
||||
$template->assign('dbInfo', DatabaseUtil::getDBinfo($this->dic->get(DBStorageInterface::class)));
|
||||
$databaseUtil = $this->dic->get(DatabaseUtil::class);
|
||||
|
||||
$template->assign('dbInfo', $databaseUtil->getDBinfo());
|
||||
$template->assign('dbName', $this->configData->getDbName() . '@' . $this->configData->getDbHost());
|
||||
$template->assign('configBackupDate', date('r', $this->dic->get(ConfigService::class)->getByParam('config_backup_date', 0)));
|
||||
$template->assign('plugins', $this->dic->get(PluginManager::class)->getLoadedPlugins());
|
||||
|
||||
Reference in New Issue
Block a user