diff options
author | Roeland Douma <unix@rullzer.com> | 2015-04-01 13:24:54 +0200 |
---|---|---|
committer | Roeland Douma <unix@rullzer.com> | 2015-04-01 13:24:54 +0200 |
commit | 8ff94f0d15d6028e6cc64d540d48e7c606f016e4 (patch) | |
tree | 41e3dc961b5412cddaff3ecb7ee17b4c805325f9 /apps | |
parent | 297e29248df402f76b36164b80722194bbc9b747 (diff) | |
parent | 2b81d0f237fbfb573568a204b8fcacfc6f63d24d (diff) | |
download | nextcloud-server-8ff94f0d15d6028e6cc64d540d48e7c606f016e4.tar.gz nextcloud-server-8ff94f0d15d6028e6cc64d540d48e7c606f016e4.zip |
Merge pull request #15356 from rullzer/apps_oc_to_ocs
Move core apps from private to public functions (trivial part)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/templates/appnavigation.php | 2 | ||||
-rw-r--r-- | apps/files_encryption/lib/helper.php | 2 | ||||
-rw-r--r-- | apps/files_encryption/settings-personal.php | 2 | ||||
-rw-r--r-- | apps/files_encryption/templates/invalid_private_key.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/lib/sharedstorage.php | 2 | ||||
-rw-r--r-- | apps/files_trashbin/lib/trashbin.php | 2 | ||||
-rw-r--r-- | apps/user_webdavauth/appinfo/app.php | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 8fd2b76f9c0..e6237c7f485 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -14,7 +14,7 @@ <h2> <label for="webdavurl"><?php p($l->t('WebDAV'));?></label> </h2> - <input id="webdavurl" type="text" readonly="readonly" value="<?php p(OC_Helper::linkToRemote('webdav')); ?>" /> + <input id="webdavurl" type="text" readonly="readonly" value="<?php p(\OCP\Util::linkToRemote('webdav')); ?>" /> <em><?php print_unescaped($l->t('Use this address to <a href="%s" target="_blank">access your Files via WebDAV</a>', array(link_to_docs('user-webdav'))));?></em> </div> </div> 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/> diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index c7285b1d5c6..ce8665c97a0 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 8bc2ed8bc7a..eaf0c705a45 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 573700c5607..d27e804d8ba 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' ); |