aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-04-01 12:06:04 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2015-04-01 12:06:04 +0200
commit2b81d0f237fbfb573568a204b8fcacfc6f63d24d (patch)
tree15d17b05b820384692b035ee02203061fbcc8914 /apps/files_encryption
parentf5c7ba6b817c2cd2094fc9a89c966b8ae93bc903 (diff)
downloadnextcloud-server-2b81d0f237fbfb573568a204b8fcacfc6f63d24d.tar.gz
nextcloud-server-2b81d0f237fbfb573568a204b8fcacfc6f63d24d.zip
Move core apps from private to public functions
Apps still use OC_Helper and OC_Util functions even when public ones are already available. Sometimes the public one is even used in the same file.
Diffstat (limited to 'apps/files_encryption')
-rw-r--r--apps/files_encryption/lib/helper.php2
-rw-r--r--apps/files_encryption/settings-personal.php2
-rw-r--r--apps/files_encryption/templates/invalid_private_key.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php
index df90afa864a..1ae161ce99e 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 e3658fb0605..a9e512f89d8 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 b148e65b199..700b37b58a7 100644
--- a/apps/files_encryption/templates/invalid_private_key.php
+++ b/apps/files_encryption/templates/invalid_private_key.php
@@ -1,6 +1,6 @@
<ul>
<li class='error'>
- <?php $location = \OC_Helper::linkToRoute( "settings_personal" ).'#changePKPasswd' ?>
+ <?php $location = \OCP\Util::linkToRoute( "settings_personal" ).'#changePKPasswd' ?>
<?php p($_['message']); ?>
<br/>