@@ -195,11 +195,11 @@ discard block |
||
195 | 195 | */ |
196 | 196 | public function allowMultiUser() |
197 | 197 | { |
198 | - $type_key = $this->currentLfmType(); |
|
198 | + $type_key = $this->currentLfmType(); |
|
199 | 199 | |
200 | - if ($this->config->has('lfm.folder_categories.' . $type_key . '.allow_private_folder')) { |
|
201 | - return $this->config->get('lfm.folder_categories.' . $type_key . '.allow_private_folder') === true; |
|
202 | - } |
|
200 | + if ($this->config->has('lfm.folder_categories.' . $type_key . '.allow_private_folder')) { |
|
201 | + return $this->config->get('lfm.folder_categories.' . $type_key . '.allow_private_folder') === true; |
|
202 | + } |
|
203 | 203 | |
204 | 204 | return $this->config->get('lfm.allow_private_folder') === true; |
205 | 205 | } |
@@ -216,11 +216,11 @@ discard block |
||
216 | 216 | return true; |
217 | 217 | } |
218 | 218 | |
219 | - $type_key = $this->currentLfmType(); |
|
219 | + $type_key = $this->currentLfmType(); |
|
220 | 220 | |
221 | - if ($this->config->has('lfm.folder_categories.' . $type_key . '.allow_shared_folder')) { |
|
222 | - return $this->config->get('lfm.folder_categories.' . $type_key . '.allow_shared_folder') === true; |
|
223 | - } |
|
221 | + if ($this->config->has('lfm.folder_categories.' . $type_key . '.allow_shared_folder')) { |
|
222 | + return $this->config->get('lfm.folder_categories.' . $type_key . '.allow_shared_folder') === true; |
|
223 | + } |
|
224 | 224 | |
225 | 225 | return $this->config->get('lfm.allow_shared_folder') === true; |
226 | 226 | } |