don't call flattr if flattr is disabled
This commit is contained in:
parent
9254b6cf46
commit
37cad52229
|
@ -405,9 +405,12 @@ 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']);
|
||||||
|
|
||||||
|
@ -812,4 +815,4 @@ class Poche
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue