Skip to content

Commit bd64205

Browse files
committed
Fix syntax
1 parent 774c8b3 commit bd64205

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hooks/hook_cron.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function metarefresh_hook_cron(&$croninfo)
4545
$outputDir = $set->getString('outputDir');
4646
$outputDir = $config->resolvePath($outputDir);
4747
if ($outputDir === null) {
48-
throw \Exception("Invalid outputDir specified.");
48+
throw new \Exception("Invalid outputDir specified.");
4949
}
5050

5151
$outputFormat = $set->getValueValidate('outputFormat', ['flatfile', 'serialize'], 'flatfile');

0 commit comments

Comments
 (0)