diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-12-18 11:46:21 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-12-18 11:46:21 +0100 |
commit | e42f262d85ddd891ce823dd5d9b5a4a87c8a7786 (patch) | |
tree | 886ea4f3eceae73a52fb582b55185bad3dfa0b07 /lib/private/helper.php | |
parent | 3d55569a277a68c9dac54b33684c3e22839386d8 (diff) | |
download | nextcloud-server-e42f262d85ddd891ce823dd5d9b5a4a87c8a7786.tar.gz nextcloud-server-e42f262d85ddd891ce823dd5d9b5a4a87c8a7786.zip |
properly use OCP\Util instead of OC_Helper
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r-- | lib/private/helper.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php index 92ae25de4cc..efbc6bda1db 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -54,22 +54,6 @@ class OC_Helper { private static $templateManager; /** - * Creates an absolute url - * @param string $app app - * @param string $file file - * @param array $args array with param=>value, will be appended to the returned url - * The value of $args will be urlencoded - * @return string the url - * - * Returns a absolute url to the given app and file. - */ - public static function linkToAbsolute($app, $file, $args = array()) { - return OC::$server->getURLGenerator()->getAbsoluteURL( - OC::$server->getURLGenerator()->linkTo($app, $file, $args) - ); - } - - /** * Creates an url for remote use * @param string $service id * @return string the url |