diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-04-22 10:49:57 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-04-22 10:51:12 +0200 |
commit | a3ff1cd3e866560236ee0d0570fd7f53a4e6b5db (patch) | |
tree | ec221bc4fc68389fb58672cd01b34bf1740c43b0 /pyaggr3g470r | |
parent | making admin able to update all other users feed (diff) | |
download | newspipe-a3ff1cd3e866560236ee0d0570fd7f53a4e6b5db.tar.gz newspipe-a3ff1cd3e866560236ee0d0570fd7f53a4e6b5db.tar.bz2 newspipe-a3ff1cd3e866560236ee0d0570fd7f53a4e6b5db.zip |
impacting wosh suppression to controller
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/controllers/article.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pyaggr3g470r/controllers/article.py b/pyaggr3g470r/controllers/article.py index 0ec53a2f..bcd73e99 100644 --- a/pyaggr3g470r/controllers/article.py +++ b/pyaggr3g470r/controllers/article.py @@ -1,7 +1,6 @@ from sqlalchemy import func from bootstrap import db -import conf from .abstract import AbstractController from pyaggr3g470r.models import Article @@ -15,13 +14,6 @@ class ArticleController(AbstractController): self.update({'id': article.id}, {'readed': True}) return article - def delete(self, obj_id): - obj = super(ArticleController, self).delete(obj_id) - if not conf.ON_HEROKU: - import pyaggr3g470r.search as fastsearch - fastsearch.delete_article(self.user_id, obj.feed_id, obj_id) - return obj - def challenge(self, ids): """Will return each id that wasn't found in the database.""" for id_ in ids: |