summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 20:03:41 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 20:03:41 +0200
commit1a2bbd2ee49db8ec2c83b87718c943f47f91be28 (patch)
treec0f4cd83c6864728f4710566b929f48ef3168852 /apps/files_sharing/appinfo
parent254b8b95065b4e2f27a8d2620f26bef65269957b (diff)
downloadnextcloud-server-1a2bbd2ee49db8ec2c83b87718c943f47f91be28.tar.gz
nextcloud-server-1a2bbd2ee49db8ec2c83b87718c943f47f91be28.zip
ported addSyript and other small stuff
Diffstat (limited to 'apps/files_sharing/appinfo')
-rwxr-xr-x[-rw-r--r--]apps/files_sharing/appinfo/app.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index 7c547be3ca1..cf7c48d5fb9 100644..100755
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -12,9 +12,9 @@ OC_Hook::connect('OC_User', 'post_addToGroup', 'OC_Share', 'addToGroupShare');
OC_Hook::connect('OC_User', 'post_removeFromGroup', 'OC_Share', 'removeFromGroupShare');
$dir = isset($_GET['dir']) ? $_GET['dir'] : '/';
if ($dir != '/Shared' || OC_Appconfig::getValue('files_sharing', 'resharing', 'yes') == 'yes') {
- OC_Util::addScript("files_sharing", "share");
+ OCP\Util::addscript("files_sharing", "share");
}
-OC_Util::addScript("3rdparty", "chosen/chosen.jquery.min");
+OCP\Util::addscript("3rdparty", "chosen/chosen.jquery.min");
OCP\Util::addStyle( 'files_sharing', 'sharing' );
OCP\Util::addStyle("3rdparty", "chosen/chosen");