diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-17 08:19:06 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-12-17 18:46:42 +0100 |
commit | 9fe3d2f1f86d4f3184cc431fc105ed14d4d26598 (patch) | |
tree | 53e42d956a30ccad05adc2d5de695d242ddb244f /settings/help.php | |
parent | 792b270f22d3494e7070a89dfebe2c4464a1e748 (diff) | |
download | nextcloud-server-9fe3d2f1f86d4f3184cc431fc105ed14d4d26598.tar.gz nextcloud-server-9fe3d2f1f86d4f3184cc431fc105ed14d4d26598.zip |
OC_Helper::linkToRoute is deprecated
Replaced all calls to OC_Helper::linkToRoute with
OC::$server->getURLGenerator()->linkToRoute
Diffstat (limited to 'settings/help.php')
-rw-r--r-- | settings/help.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/help.php b/settings/help.php index 60719a3df92..21b48242706 100644 --- a/settings/help.php +++ b/settings/help.php @@ -43,8 +43,8 @@ if(isset($_GET['mode']) and $_GET['mode'] === 'admin') { $style2=''; } -$url1=OC_Helper::linkToRoute( "settings_help" ).'?mode=user'; -$url2=OC_Helper::linkToRoute( "settings_help" ).'?mode=admin'; +$url1=\OC::$server->getURLGenerator()->linkToRoute('settings_help').'?mode=user'; +$url2=\OC::$server->getURLGenerator()->linkToRoute('settings_help').'?mode=admin'; $tmpl = new OC_Template( "settings", "help", "user" ); $tmpl->assign( "admin", OC_User::isAdminUser(OC_User::getUser())); |