aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 19:54:30 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 19:54:30 +0000
commit7dd19a4cb04803f4d05fcd109b3149c6926b6558 (patch)
treed0481513061bdc2e3ce16ecb1ad49f81d0ab706f /mod/diagnostics
parent172bbf136ab45a5c6e4f53f911d9901797bb0020 (diff)
downloadelgg-7dd19a4cb04803f4d05fcd109b3149c6926b6558.tar.gz
elgg-7dd19a4cb04803f4d05fcd109b3149c6926b6558.tar.bz2
Refs #2463: Removed many more graituitous calls to elgg_get_site_url(), $CONFIG->url, etc.
git-svn-id: http://code.elgg.org/elgg/trunk@7198 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/diagnostics')
-rw-r--r--mod/diagnostics/start.php2
-rw-r--r--mod/diagnostics/views/default/diagnostics/runalltests.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/diagnostics/start.php b/mod/diagnostics/start.php
index 4711cd9d6..45403e3b5 100644
--- a/mod/diagnostics/start.php
+++ b/mod/diagnostics/start.php
@@ -28,7 +28,7 @@ function diagnostics_pagesetup()
{
if (get_context() == 'admin' && isadminloggedin()) {
global $CONFIG;
- add_submenu_item(elgg_echo('diagnostics'), elgg_get_site_url() . 'pg/diagnostics/');
+ add_submenu_item(elgg_echo('diagnostics'), 'pg/diagnostics/');
}
}
diff --git a/mod/diagnostics/views/default/diagnostics/runalltests.php b/mod/diagnostics/views/default/diagnostics/runalltests.php
index 8baf3eee0..05dd05d4d 100644
--- a/mod/diagnostics/views/default/diagnostics/runalltests.php
+++ b/mod/diagnostics/views/default/diagnostics/runalltests.php
@@ -7,5 +7,5 @@
$form_body .= elgg_view('input/submit', array('internalname' => 'execute', 'value' => elgg_echo('diagnostics:test:executeall')));
- echo elgg_view('input/form', array('action' => elgg_get_site_url() . "pg/diagnostics/tests/all", 'body' => $form_body));
+ echo elgg_view('input/form', array('action' => "pg/diagnostics/tests/all", 'body' => $form_body));
?> \ No newline at end of file