Removed deprecated code marked in 5.0.x : oxDiscountList::getInstance
Removed deprecated code marked in 5.0.x : oxSession::getInstance;

Removed function
Removed deprecated code marked in 5.0.x : oxSession::getInstance;

Removed usages
Removed deprecated code marked in 5.0.x : oxSession::getInstance;

Removed usages
Removed deprecated code marked in 5.0.x : oxSession::hasVar;

Removed function and usages
Removed deprecated code marked in 5.0.x : oxSession::setVar;

Removed function and usages
Removed deprecated code marked in 5.0.x : oxSession::setVar and oxSession::hasVar;

Removed usages
Removed not used condition
Removed deprecated code marked in 5.0.x : oxSession::setVar;

Removed usage in test