@@ -26,11 +26,9 @@ |
||
26 | 26 | |
27 | 27 | use OCP\Settings\ISettings; |
28 | 28 | use OCP\Template; |
29 | -use OCP\IUser; |
|
30 | 29 | use OCP\IGroupManager; |
31 | 30 | use OCP\IUserSession; |
32 | 31 | use OCP\IConfig; |
33 | -use OC\Settings\Panels\Helper; |
|
34 | 32 | use OCP\L10N\IFactory; |
35 | 33 | |
36 | 34 | class Profile implements ISettings { |
@@ -39,7 +39,6 @@ discard block |
||
39 | 39 | use OCP\IGroupManager; |
40 | 40 | use OCP\Defaults; |
41 | 41 | use OCP\IURLGenerator; |
42 | - |
|
43 | 42 | use OC\Settings\Panels\Personal\Profile; |
44 | 43 | use OC\Settings\Panels\Personal\Legacy as LegacyPersonal; |
45 | 44 | use OC\Settings\Panels\Admin\Legacy as LegacyAdmin; |
@@ -54,7 +53,6 @@ discard block |
||
54 | 53 | use OC\Settings\Panels\Admin\Mail; |
55 | 54 | use OC\Settings\Panels\Admin\Logging; |
56 | 55 | use OC\Settings\Panels\Admin\SecurityWarning; |
57 | -use OC\Settings\Panels\Admin\Updater; |
|
58 | 56 | use OC\Settings\Panels\Admin\Tips; |
59 | 57 | use OC\Settings\Panels\Admin\Status; |
60 | 58 |
@@ -37,7 +37,6 @@ |
||
37 | 37 | use Symfony\Component\Console\Input\InputInterface; |
38 | 38 | use Symfony\Component\Console\Input\InputOption; |
39 | 39 | use Symfony\Component\Console\Output\OutputInterface; |
40 | -use Symfony\Component\Console\Output\ConsoleOutputInterface; |
|
41 | 40 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
42 | 41 | |
43 | 42 | class Application { |
@@ -108,6 +108,7 @@ |
||
108 | 108 | * |
109 | 109 | * @param IShare[] array containing shares |
110 | 110 | * @param int[][] array containing hash map nodeIds->shareTypes $initShareTypes[$currentNodeID][$currentShareType] |
111 | + * @param IShare[] $allShares |
|
111 | 112 | */ |
112 | 113 | private function convertToHashMap($allShares, $initShareTypes) { |
113 | 114 | // Use some already preinitialized hash map which may contain some values e.g. empty arrays |