Fixup some assignments in conditionals
[lhc/web/wiklou.git] / includes / Title.php
index 84a88e3..858f931 100644 (file)
@@ -2552,7 +2552,7 @@ class Title {
         */
        public function invalidateCache() {
                if ( wfReadOnly() ) {
-                       return;
+                       return false;
                }
                $dbw = wfGetDB( DB_MASTER );
                $success = $dbw->update(