Merge pull request #15356 from rullzer/apps_oc_to_ocs

Move core apps from private to public functions (trivial part)
remotes/origin/poc-doctrine-migrations
Roeland Douma 10 years ago
commit 8ff94f0d15
  1. 2
      apps/files/templates/appnavigation.php
  2. 2
      apps/files_encryption/lib/helper.php
  3. 2
      apps/files_encryption/settings-personal.php
  4. 2
      apps/files_encryption/templates/invalid_private_key.php
  5. 2
      apps/files_sharing/lib/sharedstorage.php
  6. 2
      apps/files_trashbin/lib/trashbin.php
  7. 2
      apps/user_webdavauth/appinfo/app.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>

@ -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;

@ -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');

@ -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/>

@ -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;
}

@ -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));
}
}

@ -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'
);

Loading…
Cancel
Save