Make ChronologyProtector::init() use instanceof instead of empty()
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 14 Feb 2017 22:21:19 +0000 (14:21 -0800)
committerThcipriani <tcipriani@wikimedia.org>
Tue, 14 Feb 2017 22:27:55 +0000 (22:27 +0000)
commiteb9a0a73c9f13320f17a62e5d69b51a502926749
treebe604483beafc3485b510075cf0158c61bc13a05
parent6cd88e4e4b1f440ba872132d380d12f7c95ba12d
Make ChronologyProtector::init() use instanceof instead of empty()

This is more robust and handles old root namespaced DBMasterPos values

Bug: T158127
Change-Id: Iba775fc808ac3e73d360f1adbe45ad222351c2d9
includes/libs/rdbms/ChronologyProtector.php