fix a problem in prestashop 1.4

Context class is not defined in prestashop 1.4.