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 /lib/private/app.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 'lib/private/app.php')
-rw-r--r-- | lib/private/app.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/app.php b/lib/private/app.php index abf12264c58..e8cc9219224 100644 --- a/lib/private/app.php +++ b/lib/private/app.php @@ -380,7 +380,7 @@ class OC_App { array( "id" => "help", "order" => 1000, - "href" => OC_Helper::linkToRoute("settings_help"), + "href" => \OC::$server->getURLGenerator()->linkToRoute('settings_help'), "name" => $l->t("Help"), "icon" => OC_Helper::imagePath("settings", "help.svg") ) @@ -393,7 +393,7 @@ class OC_App { $settings[] = array( "id" => "personal", "order" => 1, - "href" => OC_Helper::linkToRoute("settings_personal"), + "href" => \OC::$server->getURLGenerator()->linkToRoute('settings_personal'), "name" => $l->t("Personal"), "icon" => OC_Helper::imagePath("settings", "personal.svg") ); @@ -409,7 +409,7 @@ class OC_App { $settings[] = array( "id" => "core_users", "order" => 2, - "href" => OC_Helper::linkToRoute("settings_users"), + "href" => \OC::$server->getURLGenerator()->linkToRoute('settings_users'), "name" => $l->t("Users"), "icon" => OC_Helper::imagePath("settings", "users.svg") ); @@ -421,7 +421,7 @@ class OC_App { $settings[] = array( "id" => "admin", "order" => 1000, - "href" => OC_Helper::linkToRoute("settings_admin"), + "href" => \OC::$server->getURLGenerator()->linkToRoute('settings_admin'), "name" => $l->t("Admin"), "icon" => OC_Helper::imagePath("settings", "admin.svg") ); |