* Added wfDie() wrapper, and some manual die(-1), to force the return code
[lhc/web/wiklou.git] / maintenance / cleanupTitles.php
index 7c0d7dd..b64917e 100644 (file)
@@ -177,7 +177,7 @@ class TitleCleanup extends FiveUpgrade {
                        $title = $verified;
                }
                if( is_null( $title ) ) {
-                       die( "Something awry; empty title.\n" );
+                       wfDie( "Something awry; empty title.\n" );
                }
                $ns = $title->getNamespace();
                $dest = $title->getDbKey();