File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
## [ Unreleased]
2
2
3
+ ### Changed
4
+ - Extracted user folder handling into its own helper class
5
+ [ #1007 ] ( https://github.com./nextcloud/cookbook/pull/1007 ) @christianlupus
6
+
3
7
### Fixed
4
8
- Fix visual regression in edit mode to prevent overflow of breadcrumbs
5
9
[ #989 ] ( https://github.com./nextcloud/cookbook/pull/989 ) @christianlupus
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class UserConfigHelper {
20
20
* @var IConfig
21
21
*/
22
22
private $ config ;
23
-
23
+
24
24
/**
25
25
* @var IL10N
26
26
*/
@@ -164,6 +164,10 @@ public function setPrintImage(bool $value): void {
164
164
*
165
165
* If no folder is stored in the config yet, a default setting will be generated and saved.
166
166
*
167
+ * **Note:**
168
+ * Do not use this method directly.
169
+ * Instead use the methods of the UserFolderHelper class
170
+ *
167
171
* @return string The name of the folder within the users files
168
172
* @throws UserNotLoggedInException if no user is logged in
169
173
*/
@@ -182,6 +186,10 @@ public function getFolderName(): string {
182
186
/**
183
187
* Set the folder for the user's cookbook.
184
188
*
189
+ * **Note:**
190
+ * Do not use this method directly.
191
+ * Instead use the methods of the UserFolderHelper class
192
+ *
185
193
* @param string $value The name of the folder within the user's files
186
194
* @return void
187
195
* @throws UserNotLoggedInException if no user is logged in
You can’t perform that action at this time.
0 commit comments