diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-09 23:45:47 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-09 23:45:47 +0000 |
commit | 1ba012db0e2b9b60899a666471326465bb7a9f93 (patch) | |
tree | 79e10a00d95d5e1296c9f7b2e6d22ccbe579d407 /modules/auth | |
parent | e7155c09c53be09d84b85ad57a8dc58529c10672 (diff) |
Chain away temporary variables
Diffstat (limited to 'modules/auth')
-rw-r--r-- | modules/auth/helpers/auth_installer.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/auth/helpers/auth_installer.php b/modules/auth/helpers/auth_installer.php index f5c3ab95..ebd8712e 100644 --- a/modules/auth/helpers/auth_installer.php +++ b/modules/auth/helpers/auth_installer.php @@ -57,7 +57,6 @@ class auth_installer { public static function uninstall() { $db = Database::instance(); $db->query("DROP TABLE IF EXISTS `passwords`;"); - $auth_module = ORM::factory("module")->where("name", "auth")->find(); - $auth_module->delete(); + ORM::factory("module")->where("name", "auth")->find()->delete(); } }
\ No newline at end of file |