1
0
Fork 0
forked from blallo/rss-bridge

[TwitterBridge] rename 'pic' parameter to more consistent 'nopic'

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-20 12:32:05 +02:00
parent 71d8f4c465
commit 6e66c228f8

View file

@ -13,7 +13,7 @@ class TwitterBridge extends BridgeAbstract{
'[
{
"name" : "Hide profile pictures",
"identifier" : "pic",
"identifier" : "nopic",
"type" : "checkbox",
"required" : false,
"exampleValue" : "checked",
@ -68,8 +68,8 @@ class TwitterBridge extends BridgeAbstract{
}
$hidePictures = false;
if (isset($param['pic']))
$hidePictures = $param['pic'] === 'on';
if (isset($param['nopic']))
$hidePictures = $param['nopic'] === 'on';
foreach($html->find('div.js-stream-tweet') as $tweet) {
$item = new \Item();