]> git.mxchange.org Git - friendica-addons.git/commitdiff
Unused variable removed
authorMichael <heluecht@pirati.ca>
Sun, 5 Mar 2023 21:35:14 +0000 (21:35 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 5 Mar 2023 21:35:14 +0000 (21:35 +0000)
tumblr/tumblr.php

index 80c68cbc7efd5788252bf23e4592725d2b3fff83..c71b1cfb5bcd11b99ffc892dc04fe0afaa132534 100644 (file)
@@ -403,10 +403,6 @@ function tumblr_send(array &$b)
                                '<p>' . $params['caption'] . '</p>';
                }
 
-               if (empty($params['caption']) && !empty($siteinfo['description'])) {
-                       $params['caption'] = BBCode::convertForUriId($b['uri-id'], '[quote]' . $siteinfo['description'] . '[/quote]', BBCode::CONNECTORS);
-               }
-
                $consumer_key    = DI::config()->get('tumblr', 'consumer_key');
                $consumer_secret = DI::config()->get('tumblr', 'consumer_secret');