aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'mod/diagnostics')
-rw-r--r--mod/diagnostics/index.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/mod/diagnostics/index.php b/mod/diagnostics/index.php
index 4f746c1c1..1ef9e5344 100644
--- a/mod/diagnostics/index.php
+++ b/mod/diagnostics/index.php
@@ -13,9 +13,7 @@ elgg_set_context('admin');
// system diagnostics
$content = elgg_view_title(elgg_echo('diagnostics'));
$content .= "<div class='admin_settings diagnostics'>";
-$content .= elgg_view('page/elements/content', array('body' =>
- "<h3>".elgg_echo('diagnostics:report')."</h3>".elgg_echo('diagnostics:description') . elgg_view('diagnostics/forms/download'))
-);
+$content .= "<h3>".elgg_echo('diagnostics:report')."</h3>".elgg_echo('diagnostics:description') . elgg_view('diagnostics/forms/download');
// unit tests
$content .= "<h3>".elgg_echo('diagnostics:unittester')."</h3>";
@@ -32,9 +30,7 @@ if (isset($CONFIG->debug)) {
$test_body .= elgg_echo('diagnostics:unittester:debug');
}
-$content .= elgg_view('page/elements/content', array(
- 'body' => $test_body)
-);
+$content .= $test_body;
$content .= "</div>";
$body = elgg_view_layout("one_column_with_sidebar", array('content' => $content));