remove check for PHP bug #50731