From 82ee08fc5d300eca1d3edd6ae4786239f1db4ef3 Mon Sep 17 00:00:00 2001 From: bsimpson63 Date: Wed, 11 Jul 2012 13:48:11 -0400 Subject: [PATCH] Clean up in POST_del. --- r2/r2/controllers/api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/r2/r2/controllers/api.py b/r2/r2/controllers/api.py index 75708403b..94c84b4b2 100755 --- a/r2/r2/controllers/api.py +++ b/r2/r2/controllers/api.py @@ -782,7 +782,6 @@ class ApiController(RedditController): #expire the item from the sr cache if isinstance(thing, Link): - sr = thing.subreddit_slow queries.delete_links(thing) queries.mark_moderated([thing])