[FrameworkBundle] Removed unused code from cache clear command