summaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
authormartin.von.loewis <devnull@localhost>2011-04-06 18:34:51 +0000
committermartin.von.loewis <devnull@localhost>2011-04-06 18:34:51 +0000
commitfbc01196584140c60ba7fb03ffe65275c89d90cd (patch)
tree6b48b09dffde25ecfae642f647c4826ed074d082 /admin.py
parent161b13811b9ef02e3c72aae273e482a98de49870 (diff)
downloaddecorator-fbc01196584140c60ba7fb03ffe65275c89d90cd.tar.gz
Remove rating feature.
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/admin.py b/admin.py
index d03e1b3..de269b1 100644
--- a/admin.py
+++ b/admin.py
@@ -97,15 +97,6 @@ def delete_old_docs(config, store):
print "Deleting", path
shutil.rmtree(path)
-def send_comments(store):
- '''Send out comments to package owners. Normally, this will
- be done automatically, but the very first comments had not been sent.'''
- import webui
- c = store.get_cursor()
- c.execute("select name, version, user_name, message from ratings where message!=''")
- for package, version, author, comment in c.fetchall():
- webui.comment_email(store, package, version, author, comment)
-
def merge_user(store, old, new):
c = store.get_cursor()
if not store.get_user(old):