aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-08-06 22:16:45 +0200
committerBart Visscher <bartv@thisnet.nl>2012-08-07 20:43:00 +0200
commit99ce7ba1df52334f11c6b97c3f24d0ed31c8f6d0 (patch)
treedf8cd29a5e7673ae3db2148cf01286c28dc8a725 /lib/public
parentc4f1a1de5b5f9dda969a3b3872eea5628d8ef9e2 (diff)
downloadnextcloud-server-99ce7ba1df52334f11c6b97c3f24d0ed31c8f6d0.tar.gz
nextcloud-server-99ce7ba1df52334f11c6b97c3f24d0ed31c8f6d0.zip
Move serverHost and serverProtocol functions to OC_Request
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/util.php b/lib/public/util.php
index 75ca29f7129..9f6f6f32e1e 100644
--- a/lib/public/util.php
+++ b/lib/public/util.php
@@ -165,7 +165,7 @@ class Util {
* reverse proxies
*/
public static function getServerHost() {
- return(\OC_Helper::serverHost());
+ return(\OC_Request::serverHost());
}
/**
@@ -175,7 +175,7 @@ class Util {
* Returns the server protocol. It respects reverse proxy servers and load balancers
*/
public static function getServerProtocol() {
- return(\OC_Helper::serverProtocol());
+ return(\OC_Request::serverProtocol());
}
/**