(from redmine: issue id 2890, created on 2013-11-29, closed on 2014-02-03)
Fixes: #2890 remove old code