Skip to content

Commit 58d8de8

Browse files
committed
feat: use lazy app config values and small fixes
- use `isEnabledForAnyone` instead of `isInstalled` to check for app_api - type annotations for both OCP and the OCA IContentProvider - make `indexed_files_count` app config non-lazy Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
1 parent 3485a64 commit 58d8de8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/Logger.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public function __construct(
3434

3535
public function getLogFilepath(): string {
3636
$default = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . '/context_chat.log';
37-
// todo: Legacy way was appconfig, now it's paralleled with the normal log config (?)
3837
return $this->appConfig->getAppValueString('logfile', $default, true);
3938
}
4039

0 commit comments

Comments
 (0)