diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-08 05:12:37 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-08 05:12:37 +0000 |
| commit | 36d1be4717c5d817ccafbed628a760c1126ba967 (patch) | |
| tree | a1e036f15dbdc59b81d89259408c43aaabc83346 /modules/auth/helpers | |
| parent | 73488d5ee97c73c45ab963424ac855e626af19e7 (diff) | |
44 --> E_DATABASE_ERROR
Diffstat (limited to 'modules/auth/helpers')
| -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); |
