That method should be removed since it encourages incompatibility
Change-Id: Id8a0174266bcd988c85943507f1edb3518fe087e
}
# If our database is strict about IP addresses, use NULL instead of an empty string
- if ( $dbw->strictIPs() && $this->mAttribs['rc_ip'] == '' ) {
+ $strictIPs = in_array( $dbw->getType(), [ 'oracle', 'postgres' ] ); // legacy
+ if ( $strictIPs && $this->mAttribs['rc_ip'] == '' ) {
unset( $this->mAttribs['rc_ip'] );
}
return false;
}
- public function strictIPs() {
+ public function realTimestamps() {
return false;
}