diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 00:50:26 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 00:50:26 +0200 |
commit | 2fe646dcec08b36179aa2b6ebca447a20e409b03 (patch) | |
tree | e5b909e88d9271e3301c9db3fea8771d059a914d /apps/files_sharing | |
parent | c94f39b488f9ae6bd24cbdbb5cfa877e29f199e3 (diff) | |
download | nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.tar.gz nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.zip |
ported the oc_app calls
Diffstat (limited to 'apps/files_sharing')
-rwxr-xr-x | apps/files_sharing/appinfo/app.php | 2 | ||||
-rwxr-xr-x | apps/files_sharing/list.php | 2 |
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"); |