Index: trunk/phase3/includes/StubObject.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | } |
26 | 26 | |
27 | 27 | static function isRealObject( $obj ) { |
28 | | - return is_object( $obj ) && !is_a( $obj, 'StubObject' ); |
| 28 | + return is_object( $obj ) && !(instanceof 'StubObject'); |
29 | 29 | } |
30 | 30 | |
31 | 31 | function _call( $name, $args ) { |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | function _newObject() { |
37 | 37 | return wfCreateObject( $this->mClass, $this->mParams ); |
38 | 38 | } |
39 | | - |
| 39 | + |
40 | 40 | function __call( $name, $args ) { |
41 | 41 | return $this->_call( $name, $args ); |
42 | 42 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -184,6 +184,7 @@ |
185 | 185 | of other tables while they work. |
186 | 186 | * Message names changed for AlphabeticPager introduced with r19758 |
187 | 187 | for better localisations. |
| 188 | +* (bug8944) The deprecated is_a() function is used in StubObjects.php |
188 | 189 | |
189 | 190 | == Languages updated == |
190 | 191 | |