Browse Source
fix(user_ldap): Remove now unused class FilesystemHelper
fix(user_ldap): Remove now unused class FilesystemHelper
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>pull/50162/head
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
11 changed files with 1 additions and 80 deletions
-
1apps/user_ldap/composer/composer/autoload_classmap.php
-
1apps/user_ldap/composer/composer/autoload_static.php
-
2apps/user_ldap/lib/AppInfo/Application.php
-
32apps/user_ldap/lib/FilesystemHelper.php
-
4apps/user_ldap/lib/User/Manager.php
-
2apps/user_ldap/lib/User/User.php
-
2apps/user_ldap/tests/AccessTest.php
-
2apps/user_ldap/tests/Integration/AbstractIntegrationTest.php
-
2apps/user_ldap/tests/Integration/Lib/User/IntegrationTestUserAvatar.php
-
6apps/user_ldap/tests/User/ManagerTest.php
-
27apps/user_ldap/tests/User/UserTest.php
@ -1,32 +0,0 @@ |
|||
<?php |
|||
|
|||
/** |
|||
* SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors |
|||
* SPDX-FileCopyrightText: 2016 ownCloud, Inc. |
|||
* SPDX-License-Identifier: AGPL-3.0-only |
|||
*/ |
|||
namespace OCA\User_LDAP; |
|||
|
|||
use OC\Files\Filesystem; |
|||
|
|||
/** |
|||
* @brief wraps around static Nextcloud core methods |
|||
*/ |
|||
class FilesystemHelper { |
|||
|
|||
/** |
|||
* @brief states whether the filesystem was loaded |
|||
* @return bool |
|||
*/ |
|||
public function isLoaded() { |
|||
return Filesystem::$loaded; |
|||
} |
|||
|
|||
/** |
|||
* @brief initializes the filesystem for the given user |
|||
* @param string $uid the Nextcloud username of the user |
|||
*/ |
|||
public function setup($uid) { |
|||
\OC_Util::setupFS($uid); |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue