aboutsummaryrefslogtreecommitdiff
path: root/src/web/controllers/bookmark.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2017-04-09 09:30:20 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2017-04-09 09:30:20 +0200
commit1d2a7fbce2abcde13b9741d7fa6ec83c074b7c0a (patch)
treec5b8434d90450c921e8bbb90aad4781e4135fb62 /src/web/controllers/bookmark.py
parentcerificate renewed (diff)
downloadnewspipe-1d2a7fbce2abcde13b9741d7fa6ec83c074b7c0a.tar.gz
newspipe-1d2a7fbce2abcde13b9741d7fa6ec83c074b7c0a.tar.bz2
newspipe-1d2a7fbce2abcde13b9741d7fa6ec83c074b7c0a.zip
Removed prototype code for bookmarks from master branch.
Diffstat (limited to 'src/web/controllers/bookmark.py')
-rw-r--r--src/web/controllers/bookmark.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/web/controllers/bookmark.py b/src/web/controllers/bookmark.py
deleted file mode 100644
index f7dab9d8..00000000
--- a/src/web/controllers/bookmark.py
+++ /dev/null
@@ -1,20 +0,0 @@
-import logging
-import itertools
-from datetime import datetime, timedelta
-
-from bootstrap import db
-from .abstract import AbstractController
-from web.models import Bookmark
-
-logger = logging.getLogger(__name__)
-
-
-class BookmarkController(AbstractController):
- _db_cls = Bookmark
-
- def count_by_href(self, **filters):
- return self._count_by(Bookmark.href, filters)
-
- def update(self, filters, attrs, *args, **kwargs):
- #self.tag_objs = attrs['tags']
- return super().update(filters, attrs, *args, **kwargs)
bgstack15