mirror of
https://github.com/friendica/friendica
synced 2025-04-22 09:10:10 +00:00
Remove unused code
- Remove commented code - Remove unused/immediately overwritten variables - Remove extraneous parameters - Remove unreachable code - Remove duplicate array keys
This commit is contained in:
parent
0c4f8277e6
commit
4a95ca280d
42 changed files with 43 additions and 218 deletions
|
@ -178,9 +178,7 @@ class Thread extends BaseObject
|
|||
*/
|
||||
public function getTemplateData($conv_responses)
|
||||
{
|
||||
$a = self::getApp();
|
||||
$result = [];
|
||||
$i = 0;
|
||||
|
||||
foreach ($this->parents as $item) {
|
||||
if ($item->getDataValue('network') === Protocol::MAIL && local_user() != $item->getDataValue('uid')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue