Update calls to PdoFactory, since it was removed from phpws core.