aboutsummaryrefslogtreecommitdiff
path: root/mod/updateclient/views/default/settings
diff options
context:
space:
mode:
Diffstat (limited to 'mod/updateclient/views/default/settings')
-rw-r--r--mod/updateclient/views/default/settings/updateclient/edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/updateclient/views/default/settings/updateclient/edit.php b/mod/updateclient/views/default/settings/updateclient/edit.php
index 3cd64b448..584311c5a 100644
--- a/mod/updateclient/views/default/settings/updateclient/edit.php
+++ b/mod/updateclient/views/default/settings/updateclient/edit.php
@@ -9,13 +9,13 @@
* @link http://elgg.com/
*/
-
+ global $DEFAULT_UPDATE_SERVER;
?>
<p>
<h3><?php echo elgg_echo('updateclient:settings:server'); ?>: </h3>
<?php
- $server = ($vars['entity']->updateserver ? $vars['entity']->updateserver : 'http://updates.elgg.org/services/api/rest.php');
+ $server = ($vars['entity']->updateserver ? $vars['entity']->updateserver : $DEFAULT_UPDATE_SERVER);
echo elgg_view('input/text', array('internalname' => 'params[updateserver]', 'value' => $server));
?>
</p>