Removed old compatibility code

It is useless now that the dependency was changed to nette 2.2.