aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-08 13:32:23 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-08 13:32:23 +0000
commitaca444f564e83fc1a7112412bf5ce558ca355e5f (patch)
treeefe056a2b6470dc1708abff468b7a0352ea4615f /engine/lib/upgrades
parent17d97908d3e6d1c8a141364f9b4088d54d686394 (diff)
downloadelgg-aca444f564e83fc1a7112412bf5ce558ca355e5f.tar.gz
elgg-aca444f564e83fc1a7112412bf5ce558ca355e5f.tar.bz2
Closes #1011: Added basic captcha support.
git-svn-id: https://code.elgg.org/elgg/trunk@3270 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/upgrades')
-rw-r--r--engine/lib/upgrades/2009050801.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2009050801.php b/engine/lib/upgrades/2009050801.php
new file mode 100644
index 000000000..17fb9a18c
--- /dev/null
+++ b/engine/lib/upgrades/2009050801.php
@@ -0,0 +1,10 @@
+<?php
+
+ global $CONFIG;
+
+ /// Activate captcha
+ /**
+ * Elgg now has a basic captcha service built in, enable it by default
+ */
+ enable_plugin('captcha', $CONFIG->site->guid);
+?> \ No newline at end of file