kopia lustrzana https://github.com/friendica/friendica
Uncomment some code in ItemContent::getPlaintextPost
- I have no idea what I'm doingpull/4881/head
rodzic
6d88984ee5
commit
d977ff78df
|
@ -160,9 +160,8 @@ class ItemContent extends BaseObject
|
||||||
} elseif (!isset($post['url'])) {
|
} elseif (!isset($post['url'])) {
|
||||||
$limit = $limit - 23;
|
$limit = $limit - 23;
|
||||||
$post['url'] = $item['plink'];
|
$post['url'] = $item['plink'];
|
||||||
// Which purpose has this line? It is now uncommented, but left as a reminder
|
} elseif (strpos($item['body'], '[share') !== false) {
|
||||||
//} elseif (strpos($b['body'], '[share') !== false) {
|
$post['url'] = $item['plink'];
|
||||||
// $post['url'] = $b['plink'];
|
|
||||||
} elseif (PConfig::get($item['uid'], 'system', 'no_intelligent_shortening')) {
|
} elseif (PConfig::get($item['uid'], 'system', 'no_intelligent_shortening')) {
|
||||||
$post['url'] = $item['plink'];
|
$post['url'] = $item['plink'];
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue