diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-02-06 16:32:26 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-02-06 16:32:26 +0000 |
| commit | d2cdeb3f83fe4c7421beb5f1ccb2e5e9e64ab477 (patch) | |
| tree | 9279a16157bdcc356de976d03c517e045fa3f9ed /modules_v3/html/module.php | |
| parent | b25d4f83710305793b098e86ca1f5d7b91c9d7b0 (diff) | |
| download | webtrees-d2cdeb3f83fe4c7421beb5f1ccb2e5e9e64ab477.tar.gz webtrees-d2cdeb3f83fe4c7421beb5f1ccb2e5e9e64ab477.tar.bz2 webtrees-d2cdeb3f83fe4c7421beb5f1ccb2e5e9e64ab477.zip | |
Rename function for consistency
Diffstat (limited to 'modules_v3/html/module.php')
| -rw-r--r-- | modules_v3/html/module.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules_v3/html/module.php b/modules_v3/html/module.php index 994f028d22..9f66713c58 100644 --- a/modules_v3/html/module.php +++ b/modules_v3/html/module.php @@ -55,7 +55,7 @@ class html_WT_Module extends Module implements ModuleBlockInterface { case '__default__': $tree_id = Tree::getIdFromName(Site::getPreference('DEFAULT_GEDCOM')); if ($tree_id) { - $stats = new Stats(Tree::get($tree_id)); + $stats = new Stats(Tree::findById($tree_id)); } else { $stats = new Stats($WT_TREE); } @@ -63,7 +63,7 @@ class html_WT_Module extends Module implements ModuleBlockInterface { default: $tree_id = Tree::getIdFromName($gedcom); if ($tree_id) { - $stats = new Stats(Tree::get($tree_id)); + $stats = new Stats(Tree::findById($tree_id)); } else { $stats = new Stats($WT_TREE); } |
