1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 14:16:39 +02:00

removed bridge for Nette 2.0 (BC break)

This commit is contained in:
David Grudl
2015-01-13 06:58:53 +01:00
parent a923ce7ecb
commit f7fd9104e9
5 changed files with 6 additions and 100 deletions

View File

@@ -111,7 +111,7 @@ class DibiConnection extends DibiObject
$this->onEvent[] = array(new DibiFirePhpLogger($filter), 'logEvent');
}
if (!interface_exists('Tracy\IBarPanel') && (interface_exists('Nette\Diagnostics\IBarPanel') || interface_exists('IBarPanel'))) {
if (!interface_exists('Tracy\IBarPanel') && interface_exists('Nette\Diagnostics\IBarPanel') && class_exists('DibiNettePanel')) {
$panel = new DibiNettePanel(isset($profilerCfg['explain']) ? $profilerCfg['explain'] : TRUE, $filter);
$panel->register($this);
}