r19897 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r19896‎ | r19897 | r19898 >
Date:20:22, 12 February 2007
Author:hashar
Status:old
Tags:
Comment:
Fix r19896 for bug 8944 (pressing 'u' in vim before committing is a bad idea).
Modified paths:
  • /trunk/phase3/includes/StubObject.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/StubObject.php
@@ -24,7 +24,7 @@
2525 }
2626
2727 static function isRealObject( $obj ) {
28 - return is_object( $obj ) && !(instanceof 'StubObject');
 28+ return is_object( $obj ) && !($obj instanceof StubObject);
2929 }
3030
3131 function _call( $name, $args ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r19896Fix #8944: The deprecated is_a() function is used in StubObjects.phphashar20:18, 12 February 2007