]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove some unused variables
authorBjoern Schiessle <schiessle@owncloud.com>
Thu, 19 Sep 2013 12:42:34 +0000 (14:42 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Thu, 19 Sep 2013 12:42:34 +0000 (14:42 +0200)
apps/files_sharing/tests/api.php

index fa65eac445b36de9253a06bf9ce5283a8a6c9324..e9d689ed43eb80b4c17fee99e61aa3d89d8e3b3e 100644 (file)
@@ -31,9 +31,6 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase {
 
        const TEST_FILES_SHARING_API_USER1 = "test-share-user1";
        const TEST_FILES_SHARING_API_USER2 = "test-share-user2";
-       const TEST_FILES_SHARING_API_USER3 = "test-share-user3";
-       const TEST_FILES_SHARING_API_USER4 = "test-share-user4";
-       const TEST_FILES_SHARING_API_GROUP1 = "test-share-group1";
 
        public $filename;
        public $data;
@@ -48,9 +45,6 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase {
                \OC_User::clearBackends();
                \OC_User::useBackend('database');
 
-               // enable resharing
-               \OC_Appconfig::setValue('core', 'shareapi_allow_resharing', 'yes');
-
                // clear share hooks
                \OC_Hook::clear('OCP\\Share');
                \OC::registerShareHooks();