Deprecated code

Since Dolibarr now only supports PHP higher than 5.2.1, there is no need to maintain PHP4 code.