]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/badges/__init__.py
Disables the recaptcha feature for a while. It was causing some nasty bugs.
[osqa.git] / forum / badges / __init__.py
index 421348fed9966b4eb3611f246210fa1b646b2ee0..c413e82dbff0712f4ce61566f78746f3207c7a8a 100644 (file)
@@ -1,10 +1,6 @@
-import re
+from forum.modules import get_modules_script
 
-from forum.badges.base import AbstractBadge
-from forum.modules import get_modules_script_classes
+get_modules_script('badges')
+
+from base import BadgesMeta
 
-ALL_BADGES = [
-            cls() for name, cls
-            in get_modules_script_classes('badges', AbstractBadge).items()
-            if not re.search('AbstractBadge$', name)
-        ]