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-02 02:50:26 +0400
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 02:50:26 +0400
commit2fe646dcec08b36179aa2b6ebca447a20e409b03 (patch)
treee5b909e88d9271e3301c9db3fea8771d059a914d /apps/files_sharing
parentc94f39b488f9ae6bd24cbdbb5cfa877e29f199e3 (diff)
ported the oc_app calls
Diffstat (limited to 'apps/files_sharing')
-rwxr-xr-xapps/files_sharing/appinfo/app.php2
-rwxr-xr-xapps/files_sharing/list.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index cf7c48d5fb9..15f72ef0895 100755
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -3,7 +3,7 @@
require_once('apps/files_sharing/sharedstorage.php');
OC::$CLASSPATH['OC_Share'] = "apps/files_sharing/lib_share.php";
-OC_APP::registerAdmin('files_sharing', 'settings');
+OCP\App::registerAdmin('files_sharing', 'settings');
OC_Hook::connect("OC_Filesystem", "post_delete", "OC_Share", "deleteItem");
OC_Hook::connect("OC_Filesystem", "post_rename", "OC_Share", "renameItem");
OC_Hook::connect("OC_Filesystem", "post_write", "OC_Share", "updateItem");
diff --git a/apps/files_sharing/list.php b/apps/files_sharing/list.php
index e607348a037..eb1ed8a186f 100755
--- a/apps/files_sharing/list.php
+++ b/apps/files_sharing/list.php
@@ -26,7 +26,7 @@ require_once('lib_share.php');
OCP\User::checkLoggedIn();
OC_Util::checkAppEnabled('files_sharing');
-OC_App::setActiveNavigationEntry("files_sharing_list");
+OCP\App::setActiveNavigationEntry("files_sharing_list");
OCP\Util::addscript("files_sharing", "list");