1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 11:22:17 -05:00

don't call flattr if flattr is disabled

This commit is contained in:
Thomas Citharel 2014-12-22 16:26:23 +01:00
parent 9254b6cf46
commit 37cad52229

View File

@ -405,8 +405,11 @@ class Poche
} }
# flattr checking # flattr checking
$flattr = new FlattrItem(); $flattr = NULL;
$flattr->checkItem($entry['url'], $entry['id']); if (FLATTR) {
$flattr = new FlattrItem();
$flattr->checkItem($entry['url'], $entry['id']);
}
# tags # tags
$tags = $this->store->retrieveTagsByEntry($entry['id']); $tags = $this->store->retrieveTagsByEntry($entry['id']);