Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 11:49:22 +0400
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 11:49:22 +0400
commite8ec999090d06127861bf51bf77c9ab2a50647ce (patch)
tree9f49a7d09350da41399c116848314505342e7da9 /apps/files_sharing
parent0195d5b4393dee68bb8a51068f10d0dc035b9d39 (diff)
port to use the new public api
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/appinfo/app.php6
-rw-r--r--apps/files_sharing/get.php2
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=");