From: jenkins-bot Date: Fri, 26 Jul 2019 15:16:38 +0000 (+0000) Subject: Merge "rdbms: remove various deprecated methods" X-Git-Tag: 1.34.0-rc.0~865 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24ze_article%22%29%20.%20%22?a=commitdiff_plain;h=436f8eb32fcbae49b7e943a1e231fbdce16ad769;p=lhc%2Fweb%2Fwiklou.git Merge "rdbms: remove various deprecated methods" --- 436f8eb32fcbae49b7e943a1e231fbdce16ad769 diff --cc includes/libs/rdbms/database/Database.php index 384168ea3a,b1af7c3dd9..8b65397442 --- a/includes/libs/rdbms/database/Database.php +++ b/includes/libs/rdbms/database/Database.php @@@ -791,18 -768,9 +783,9 @@@ abstract class Database implements IDat } public function getFlag( $flag ) { - return (bool)( $this->flags & $flag ); + return ( ( $this->flags & $flag ) === $flag ); } - /** - * @param string $name Class field name - * @return mixed - * @deprecated Since 1.28 - */ - public function getProperty( $name ) { - return $this->$name; - } - public function getDomainID() { return $this->currentDomain->getId(); }