diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-28 13:57:45 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-28 13:57:45 +0200 |
commit | c79a529edda3992bffc9e7dd1c7949f42c3b8f57 (patch) | |
tree | 17da093d9549385d1e1e2453ad86eb516d0c255e /apps/files_sharing | |
parent | b14f2d0388601879b69a0d43a576b068ae412ea8 (diff) | |
download | nextcloud-server-c79a529edda3992bffc9e7dd1c7949f42c3b8f57.tar.gz nextcloud-server-c79a529edda3992bffc9e7dd1c7949f42c3b8f57.zip |
remove not needed includes
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/ajax/getitem.php | 1 | ||||
-rw-r--r-- | apps/files_sharing/ajax/getstatuses.php | 3 | ||||
-rw-r--r-- | apps/files_sharing/ajax/setpermissions.php | 1 | ||||
-rw-r--r-- | apps/files_sharing/ajax/share.php | 1 | ||||
-rw-r--r-- | apps/files_sharing/ajax/unshare.php | 1 |
5 files changed, 1 insertions, 6 deletions
diff --git a/apps/files_sharing/ajax/getitem.php b/apps/files_sharing/ajax/getitem.php index 36ac372cad4..94f0890d706 100644 --- a/apps/files_sharing/ajax/getitem.php +++ b/apps/files_sharing/ajax/getitem.php @@ -1,5 +1,4 @@ <?php -require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php'); OCP\JSON::checkAppEnabled('files_sharing'); OCP\JSON::checkLoggedIn(); diff --git a/apps/files_sharing/ajax/getstatuses.php b/apps/files_sharing/ajax/getstatuses.php index 8edcb214758..488cab13bc9 100644 --- a/apps/files_sharing/ajax/getstatuses.php +++ b/apps/files_sharing/ajax/getstatuses.php @@ -1,5 +1,4 @@ <?php -require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php'); OCP\JSON::checkAppEnabled('files_sharing'); OCP\JSON::checkLoggedIn(); @@ -22,4 +21,4 @@ if ($rows = OC_Share::getMySharedItems()) { OCP\JSON::success(array('data' => $items)); -?>
\ No newline at end of file +?> diff --git a/apps/files_sharing/ajax/setpermissions.php b/apps/files_sharing/ajax/setpermissions.php index 2f4c5da9788..4d19cd40f2d 100644 --- a/apps/files_sharing/ajax/setpermissions.php +++ b/apps/files_sharing/ajax/setpermissions.php @@ -1,5 +1,4 @@ <?php -require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php'); OCP\JSON::checkAppEnabled('files_sharing'); OCP\JSON::checkLoggedIn(); diff --git a/apps/files_sharing/ajax/share.php b/apps/files_sharing/ajax/share.php index ec3c25998af..1ee8c3f791a 100644 --- a/apps/files_sharing/ajax/share.php +++ b/apps/files_sharing/ajax/share.php @@ -1,5 +1,4 @@ <?php -require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php'); OCP\JSON::checkAppEnabled('files_sharing'); OCP\JSON::checkLoggedIn(); diff --git a/apps/files_sharing/ajax/unshare.php b/apps/files_sharing/ajax/unshare.php index 9088bf42663..d50e7963a05 100644 --- a/apps/files_sharing/ajax/unshare.php +++ b/apps/files_sharing/ajax/unshare.php @@ -1,5 +1,4 @@ <?php -require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php'); OCP\JSON::checkAppEnabled('files_sharing'); OCP\JSON::checkLoggedIn(); |