new helper function to retrieve settings
This commit is contained in:
@@ -20,8 +20,7 @@ class folderScan
|
||||
|
||||
public function getDefaultPath()
|
||||
{
|
||||
$settings = new Settings($this->user);
|
||||
return $settings->get('ncd_downloader_dir') ?? "/Downloads";
|
||||
return Helper::getDownloadDir();
|
||||
}
|
||||
public static function create($path = null, $user = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user