diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-10-13 10:11:04 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-10-13 10:27:07 +0100 |
| commit | d85de00fd5bcdcfbee029fa7c1da0240428565da (patch) | |
| tree | 52fc3ff952e6ed720e32cf34e6c19e19f3d7ef27 /app/Functions/FunctionsPrintFacts.php | |
| parent | a5068f91b4349f8a5e47576f9dd749d221f61a10 (diff) | |
| download | webtrees-d85de00fd5bcdcfbee029fa7c1da0240428565da.tar.gz webtrees-d85de00fd5bcdcfbee029fa7c1da0240428565da.tar.bz2 webtrees-d85de00fd5bcdcfbee029fa7c1da0240428565da.zip | |
Remove unused local variables
Diffstat (limited to 'app/Functions/FunctionsPrintFacts.php')
| -rw-r--r-- | app/Functions/FunctionsPrintFacts.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Functions/FunctionsPrintFacts.php b/app/Functions/FunctionsPrintFacts.php index ddfcd3329c..9220daa6f1 100644 --- a/app/Functions/FunctionsPrintFacts.php +++ b/app/Functions/FunctionsPrintFacts.php @@ -549,7 +549,6 @@ class FunctionsPrintFacts public static function printMainSources(Fact $fact, int $level): void { $factrec = $fact->gedcom(); - $parent = $fact->record(); $tree = $fact->record()->tree(); $nlevel = $level + 1; @@ -741,8 +740,7 @@ class FunctionsPrintFacts public static function printMainNotes(Fact $fact, int $level): void { $factrec = $fact->gedcom(); - $parent = $fact->record(); - $tree = $parent->tree(); + $tree = $fact->record()->tree(); if ($fact->isPendingAddition()) { $styleadd = 'wt-new '; |
