summaryrefslogtreecommitdiff
path: root/family.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2018-01-07 18:12:30 +0000
committerGreg Roach <fisharebest@gmail.com>2018-01-07 18:12:36 +0000
commit7235bb6f2d0cd2385b1b86b6fefd391bd5798999 (patch)
tree8c0e408f7ff560ad10aeedd38b6e1742462feb27 /family.php
parentaea34fd8765f05ee00af827fe7354da7f7a2ff29 (diff)
downloadwebtrees-7235bb6f2d0cd2385b1b86b6fefd391bd5798999.tar.gz
webtrees-7235bb6f2d0cd2385b1b86b6fefd391bd5798999.tar.bz2
webtrees-7235bb6f2d0cd2385b1b86b6fefd391bd5798999.zip
Rename alerts for consistency with bootstrap4
Diffstat (limited to 'family.php')
-rw-r--r--family.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/family.php b/family.php
index 950cdcb69e..293a951c26 100644
--- a/family.php
+++ b/family.php
@@ -27,15 +27,11 @@ $controller = new FamilyController($record);
if ($controller->record && $controller->record->canShow()) {
$controller->pageHeader();
-} elseif ($controller->record && $controller->record->getTree()->getPreference('SHOW_PRIVATE_RELATIONSHIPS')) {
- $controller->pageHeader();
- // Continue - to display the children/parents/grandparents.
- // We'll check for showing the details again later
} else {
http_response_code(404);
$controller->pageHeader();
- echo View::make('alerts/error', [
+ echo View::make('alerts/danger', [
'alert' => I18N::translate('This family does not exist or you do not have permission to view it.'),
]);