Skip to content

Commit 778994b

Browse files
committed
remove deprecated setInject()
1 parent 9896539 commit 778994b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Kdyby/DoctrineCache/DI/Helpers.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ public static function processCache(Nette\DI\CompilerExtension $extension, $cach
7373
->setFactory($cache->getEntity(), $cache->arguments)
7474
->setAutowired(FALSE);
7575

76-
if (method_exists($def, 'setInject')) {
77-
@$def->setInject(FALSE); // wow, such deprecated, many BC!
78-
}
79-
8076
if (class_exists($cache->getEntity()) && is_subclass_of($cache->getEntity(), 'Doctrine\Common\Cache\CacheProvider')) {
8177
$ns = 'Kdyby_' . $serviceName;
8278

0 commit comments

Comments
 (0)