diff options
| author | fisharebest <fisharebest@gmail.com> | 2012-09-14 09:58:09 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2012-09-14 09:58:09 +0000 |
| commit | c33139093ecc5d5631a37743da498d3e44cf86da (patch) | |
| tree | 1c34322e1b2bd0b054f791da0a69312f9b87f4c8 /index_edit.php | |
| parent | a967d4c2b30db2a0cc2738e9e0ce075d0d71fdef (diff) | |
| download | webtrees-c33139093ecc5d5631a37743da498d3e44cf86da.tar.gz webtrees-c33139093ecc5d5631a37743da498d3e44cf86da.tar.bz2 webtrees-c33139093ecc5d5631a37743da498d3e44cf86da.zip | |
Tidy usage of new WT_Tree class. Save a few DB calls
Diffstat (limited to 'index_edit.php')
| -rw-r--r-- | index_edit.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/index_edit.php b/index_edit.php index 1ee372ff72..84c46ebd9c 100644 --- a/index_edit.php +++ b/index_edit.php @@ -83,10 +83,8 @@ foreach (WT_Module::getActiveBlocks() as $name=>$block) { } if ($user_id) { - $controller->setPageTitle(WT_I18N::translate('My page')); $blocks=get_user_blocks($user_id); } elseif ($gedcom_id) { - $controller->setPageTitle(WT_I18N::translate(get_gedcom_setting(WT_GED_ID, 'title'))); $blocks=get_gedcom_blocks($gedcom_id); } |
