mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02: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
|
@ -745,14 +745,8 @@ class Profile
|
|||
|
||||
public static function getAdvanced(App $a)
|
||||
{
|
||||
$o = '';
|
||||
$uid = $a->profile['uid'];
|
||||
|
||||
$o .= Renderer::replaceMacros(
|
||||
Renderer::getMarkupTemplate('section_title.tpl'),
|
||||
['$title' => L10n::t('Profile')]
|
||||
);
|
||||
|
||||
if ($a->profile['name']) {
|
||||
$tpl = Renderer::getMarkupTemplate('profile_advanced.tpl');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue