summaryrefslogtreecommitdiff
path: root/modules/recaptcha/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/recaptcha/helpers')
-rw-r--r--modules/recaptcha/helpers/recaptcha_installer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/recaptcha/helpers/recaptcha_installer.php b/modules/recaptcha/helpers/recaptcha_installer.php
index ccc27aae..6269c632 100644
--- a/modules/recaptcha/helpers/recaptcha_installer.php
+++ b/modules/recaptcha/helpers/recaptcha_installer.php
@@ -20,16 +20,16 @@
class recaptcha_installer {
static function install() {
$version = module::get_version("recaptcha");
-
if ($version == 0) {
module::set_version("recaptcha", 1);
}
+ }
+ static function activate() {
recaptcha::check_config();
}
static function uninstall() {
site_status::clear("recaptcha_config");
- module::delete("recaptcha");
}
}