summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
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_trashbin
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_trashbin')
-rw-r--r--apps/files_trashbin/lib/trashbin.php2
1 files changed, 1 insertions, 1 deletions
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));
}
}