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/templates | |
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/templates')
-rw-r--r-- | settings/templates/personal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 09194ea3e39..446494c934b 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -149,7 +149,7 @@ if($_['passwordChangeSupported']) { </div> <?php if ($_['enableAvatars']): ?> -<form id="avatar" class="section" method="post" action="<?php p(\OC_Helper::linkToRoute('core.avatar.postAvatar')); ?>"> +<form id="avatar" class="section" method="post" action="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.avatar.postAvatar')); ?>"> <h2><?php p($l->t('Profile picture')); ?></h2> <div id="displayavatar"> <div class="avatardiv"></div><br> |