diff options
Diffstat (limited to 'modules/auth/helpers/auth_installer.php')
-rw-r--r-- | modules/auth/helpers/auth_installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/helpers/auth_installer.php b/modules/auth/helpers/auth_installer.php index b1477ff8..f5c3ab95 100644 --- a/modules/auth/helpers/auth_installer.php +++ b/modules/auth/helpers/auth_installer.php @@ -24,7 +24,7 @@ class auth_installer { try { $base_version = ORM::factory("module")->where("name", "auth")->find()->version; } catch (Exception $e) { - if ($e->getCode() == 44) { + if ($e->getCode() == E_DATABASE_ERROR) { $base_version = 0; } else { Kohana::log("error", $e); |