mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
ConfigForm: use migrations table for db check
This commit is contained in:
parent
84cbf522c9
commit
1838057220
@ -92,7 +92,7 @@ class ConfigForm extends QuickForm
|
||||
$db = $resource->getDbAdapter();
|
||||
|
||||
try {
|
||||
$query = $db->select()->from('director_dbversion', 'COUNT(*)');
|
||||
$query = $db->select()->from('director_schema_migration', 'COUNT(*)');
|
||||
$db->fetchOne($query);
|
||||
|
||||
if (! $this->hasBeenSent()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user