* Added wfDie() wrapper, and some manual die(-1), to force the return code
[lhc/web/wiklou.git] / includes / Export.php
index 71a771b..f49b685 100644 (file)
@@ -588,7 +588,7 @@ class DumpNamespaceFilter extends DumpFilter {
                                $ns = intval( $key );
                                $this->namespaces[$ns] = true;
                        } else {
-                               die( "Unrecognized namespace key '$key'\n" );
+                               wfDie( "Unrecognized namespace key '$key'\n" );
                        }
                }
        }