Skip to content

Commit

Permalink
feat(user-prefs): switching to NCU/
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl committed Nov 7, 2024
1 parent e1b6a00 commit f945c0b
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions lib/private/AllConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
*/
namespace OC;

use NCU\Config\Exceptions\TypeConflictException;
use NCU\Config\IUserPreferences;
use NCU\Config\ValueType;
use OC\Config\UserPreferences;
use OCP\Cache\CappedMemoryCache;
use OCP\Config\Exceptions\TypeConflictException;
use OCP\Config\IUserPreferences;
use OCP\Config\ValueType;
use OCP\IConfig;
use OCP\IDBConnection;
use OCP\PreConditionNotMetException;
Expand Down
10 changes: 5 additions & 5 deletions lib/private/Config/UserPreferences.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
use Generator;
use InvalidArgumentException;
use JsonException;
use OCP\Config\Exceptions\IncorrectTypeException;
use OCP\Config\Exceptions\TypeConflictException;
use OCP\Config\Exceptions\UnknownKeyException;
use OCP\Config\IUserPreferences;
use OCP\Config\ValueType;
use NCU\Config\Exceptions\IncorrectTypeException;
use NCU\Config\Exceptions\TypeConflictException;
use NCU\Config\Exceptions\UnknownKeyException;
use NCU\Config\IUserPreferences;
use NCU\Config\ValueType;
use OCP\DB\Exception as DBException;
use OCP\DB\IResult;
use OCP\DB\QueryBuilder\IQueryBuilder;
Expand Down
2 changes: 1 addition & 1 deletion lib/private/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
namespace OC;

use bantu\IniGetWrapper\IniGetWrapper;
use NCU\Config\IUserPreferences;
use OC\Accounts\AccountManager;
use OC\App\AppManager;
use OC\App\AppStore\Bundles\BundleFetcher;
Expand Down Expand Up @@ -138,7 +139,6 @@
use OCP\Collaboration\Reference\IReferenceManager;
use OCP\Command\IBus;
use OCP\Comments\ICommentsManager;
use OCP\Config\IUserPreferences;
use OCP\Contacts\ContactsMenu\IActionFactory;
use OCP\Contacts\ContactsMenu\IContactsStore;
use OCP\Defaults;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCP\Config\Exceptions;
namespace NCU\Config\Exceptions;

use Exception;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCP\Config\Exceptions;
namespace NCU\Config\Exceptions;

use Exception;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCP\Config\Exceptions;
namespace NCU\Config\Exceptions;

use Exception;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCP\Config;
namespace NCU\Config;

use Generator;
use OCP\Config\Exceptions\IncorrectTypeException;
use OCP\Config\Exceptions\UnknownKeyException;
use NCU\Config\Exceptions\IncorrectTypeException;
use NCU\Config\Exceptions\UnknownKeyException;

/**
* This class provides an easy way for apps to store user preferences in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCP\Config;
namespace NCU\Config;

use OCP\Config\Exceptions\IncorrectTypeException;
use NCU\Config\Exceptions\IncorrectTypeException;
use UnhandledMatchError;

/**
Expand Down
8 changes: 4 additions & 4 deletions tests/lib/UserPreferencesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
*/
namespace lib;

use NCU\Config\Exceptions\TypeConflictException;
use NCU\Config\Exceptions\UnknownKeyException;
use NCU\Config\IUserPreferences;
use NCU\Config\ValueType;
use OC\Config\UserPreferences;
use OCP\Config\Exceptions\TypeConflictException;
use OCP\Config\Exceptions\UnknownKeyException;
use OCP\Config\IUserPreferences;
use OCP\Config\ValueType;
use OCP\IDBConnection;
use OCP\Security\ICrypto;
use Psr\Log\LoggerInterface;
Expand Down

0 comments on commit f945c0b

Please sign in to comment.