@@ -261,7 +261,7 @@ |
||
261 | 261 | * |
262 | 262 | * @param string $app name of the app |
263 | 263 | * @param string $image filename of the image |
264 | - * @return bool|string false if image should not replaced, otherwise the location of the image |
|
264 | + * @return string|false false if image should not replaced, otherwise the location of the image |
|
265 | 265 | */ |
266 | 266 | public function replaceImagePath($app, $image) { |
267 | 267 | if($app==='') { |
@@ -116,7 +116,6 @@ |
||
116 | 116 | use OC\Template\SCSSCacher; |
117 | 117 | use OCA\Theming\ImageManager; |
118 | 118 | use OCA\Theming\ThemingDefaults; |
119 | - |
|
120 | 119 | use OCP\App\IAppManager; |
121 | 120 | use OCP\AppFramework\Utility\ITimeFactory; |
122 | 121 | use OCP\Collaboration\AutoComplete\IManager; |
@@ -42,7 +42,6 @@ |
||
42 | 42 | use OCP\AppFramework\Http\DataResponse; |
43 | 43 | use OCP\AppFramework\Http\NotFoundResponse; |
44 | 44 | use OCP\AppFramework\Utility\ITimeFactory; |
45 | -use OCP\Files\File; |
|
46 | 45 | use OCP\Files\IAppData; |
47 | 46 | use OCP\Files\NotFoundException; |
48 | 47 | use OCP\Files\NotPermittedException; |
@@ -55,7 +55,6 @@ |
||
55 | 55 | * @param IConfig $config |
56 | 56 | * @param IAppData $appData |
57 | 57 | * @param IURLGenerator $urlGenerator |
58 | - * @param ThemingDefaults $themingDefaults |
|
59 | 58 | */ |
60 | 59 | public function __construct(IConfig $config, |
61 | 60 | IAppData $appData, |