diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php
index 8fd2b76f9c..e6237c7f48 100644
--- a/apps/files/templates/appnavigation.php
+++ b/apps/files/templates/appnavigation.php
@@ -14,7 +14,7 @@
-
+
t('Use this address to access your Files via WebDAV', array(link_to_docs('user-webdav'))));?>
diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php
index df90afa864..1ae161ce99 100644
--- a/apps/files_encryption/lib/helper.php
+++ b/apps/files_encryption/lib/helper.php
@@ -395,7 +395,7 @@ class Helper {
}
}
- $location = \OC_Helper::linkToAbsolute('apps/files_encryption/files', 'error.php');
+ $location = \OCP\Util::linkToAbsolute('apps/files_encryption/files', 'error.php');
$post = 0;
if(count($_POST) > 0) {
$post = 1;
diff --git a/apps/files_encryption/settings-personal.php b/apps/files_encryption/settings-personal.php
index e3658fb060..a9e512f89d 100644
--- a/apps/files_encryption/settings-personal.php
+++ b/apps/files_encryption/settings-personal.php
@@ -26,7 +26,7 @@
*/
// Add CSS stylesheet
-\OC_Util::addStyle('files_encryption', 'settings-personal');
+\OCP\Util::addStyle('files_encryption', 'settings-personal');
$tmpl = new OCP\Template('files_encryption', 'settings-personal');
diff --git a/apps/files_encryption/templates/invalid_private_key.php b/apps/files_encryption/templates/invalid_private_key.php
index b148e65b19..700b37b58a 100644
--- a/apps/files_encryption/templates/invalid_private_key.php
+++ b/apps/files_encryption/templates/invalid_private_key.php
@@ -1,6 +1,6 @@
-
-
+
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php
index c7285b1d5c..ce8665c97a 100644
--- a/apps/files_sharing/lib/sharedstorage.php
+++ b/apps/files_sharing/lib/sharedstorage.php
@@ -118,7 +118,7 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
$permissions |= \OCP\Constants::PERMISSION_DELETE;
}
- if (\OC_Util::isSharingDisabledForUser()) {
+ if (\OCP\Util::isSharingDisabledForUser()) {
$permissions &= ~\OCP\Constants::PERMISSION_SHARE;
}
diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php
index 8bc2ed8bc7..eaf0c705a4 100644
--- a/apps/files_trashbin/lib/trashbin.php
+++ b/apps/files_trashbin/lib/trashbin.php
@@ -990,6 +990,6 @@ class Trashbin {
* @return string
*/
public static function preview_icon($path) {
- return \OC_Helper::linkToRoute('core_ajax_trashbin_preview', array('x' => 36, 'y' => 36, 'file' => $path));
+ return \OCP\Util::linkToRoute('core_ajax_trashbin_preview', array('x' => 36, 'y' => 36, 'file' => $path));
}
}
diff --git a/apps/user_webdavauth/appinfo/app.php b/apps/user_webdavauth/appinfo/app.php
index 573700c560..d27e804d8b 100644
--- a/apps/user_webdavauth/appinfo/app.php
+++ b/apps/user_webdavauth/appinfo/app.php
@@ -33,6 +33,6 @@ OC_User::useBackend( "WEBDAVAUTH" );
$entry = array(
'id' => "user_webdavauth_settings",
'order'=>1,
- 'href' => OC_Helper::linkTo( "user_webdavauth", "settings.php" ),
+ 'href' => \OCP\Util::linkTo( "user_webdavauth", "settings.php" ),
'name' => 'WEBDAVAUTH'
);