From 2b81d0f237fbfb573568a204b8fcacfc6f63d24d Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 1 Apr 2015 12:06:04 +0200 Subject: 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. --- apps/files_trashbin/lib/trashbin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_trashbin') 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)); } } -- cgit v1.2.3