diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 09:49:22 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 09:49:22 +0200 |
commit | e8ec999090d06127861bf51bf77c9ab2a50647ce (patch) | |
tree | 9f49a7d09350da41399c116848314505342e7da9 /apps/files_sharing | |
parent | 0195d5b4393dee68bb8a51068f10d0dc035b9d39 (diff) | |
download | nextcloud-server-e8ec999090d06127861bf51bf77c9ab2a50647ce.tar.gz nextcloud-server-e8ec999090d06127861bf51bf77c9ab2a50647ce.zip |
port to use the new public api
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/appinfo/app.php | 6 | ||||
-rw-r--r-- | apps/files_sharing/get.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php index 645f4f5e4f2..7c547be3ca1 100644 --- a/apps/files_sharing/appinfo/app.php +++ b/apps/files_sharing/appinfo/app.php @@ -15,7 +15,7 @@ if ($dir != '/Shared' || OC_Appconfig::getValue('files_sharing', 'resharing', 'y OC_Util::addScript("files_sharing", "share"); } OC_Util::addScript("3rdparty", "chosen/chosen.jquery.min"); -OC_Util::addStyle( 'files_sharing', 'sharing' ); -OC_Util::addStyle("3rdparty", "chosen/chosen"); +OCP\Util::addStyle( 'files_sharing', 'sharing' ); +OCP\Util::addStyle("3rdparty", "chosen/chosen"); -?>
\ No newline at end of file +?> diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php index 3e42bf6a6c7..fbcb265fc03 100644 --- a/apps/files_sharing/get.php +++ b/apps/files_sharing/get.php @@ -49,7 +49,7 @@ if ($source !== false) { } } // Load the files we need - OC_Util::addStyle("files", "files"); + OCP\Util::addStyle("files", "files"); $breadcrumbNav = new OC_Template("files", "part.breadcrumb", ""); $breadcrumbNav->assign("breadcrumb", $breadcrumb); $breadcrumbNav->assign("baseURL", OC_Helper::linkTo("files_sharing", "get.php")."?token=".$token."&path="); |