ConfigForm: use migrations table for db check

This commit is contained in:
Thomas Gelf 2016-02-09 14:33:31 +01:00
parent 84cbf522c9
commit 1838057220
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {