Skip to content

Commit 0215914

Browse files
committed
Revert removal and switch to getOptionalValueValidate()
1 parent 901374a commit 0215914

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MetaRefresh.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function runRefresh(string $crontag = null): void
6666
throw new Exception("Invalid outputDir specified.");
6767
}
6868

69-
$outputFormat = $set->getValueValidate('outputFormat', ['flatfile', 'serialize', 'pdo']);
69+
$outputFormat = $set->getOptionalValueValidate('outputFormat', ['flatfile', 'serialize', 'pdo'], 'flatfile');
7070

7171
$oldMetadataSrc = MetaDataStorageSource::getSource([
7272
'type' => $outputFormat,

0 commit comments

Comments
 (0)