Skip to content

Commit 8a1547f

Browse files
committed
fix bugs and test
1 parent dbb586a commit 8a1547f

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

etc/packages/quartz.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
quartz:
22
scheduler:
3-
store:
3+
yadm_simple_store:
44
uri: 'mongodb://%env(MONGODB_HOST)%:%env(MONGODB_PORT)%'
55
dbName: '%env(MONGODB_DB)%'

src/Kernel.php

-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Quartz\App;
44

5-
use function Formapro\Values\register_cast_hooks;
65
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
76
use Symfony\Component\Config\Loader\LoaderInterface;
87
use Symfony\Component\DependencyInjection\ContainerBuilder;
@@ -18,15 +17,6 @@ final class Kernel extends BaseKernel
1817

1918
private const CONFIG_EXTS = '.{php,xml,yaml,yml}';
2019

21-
public function boot()
22-
{
23-
if (false == $this->booted) {
24-
register_cast_hooks();
25-
}
26-
27-
parent::boot();
28-
}
29-
3020
public function getCacheDir(): string
3121
{
3222
return dirname(__DIR__).'/var/cache/'.$this->environment;

0 commit comments

Comments
 (0)