Fix typo in r97044 reported in twn
[lhc/web/wiklou.git] / maintenance / cleanupImages.php
index c8e9095..3781616 100644 (file)
@@ -166,7 +166,7 @@ class ImageCleanup extends TableCleanup {
                                __METHOD__ );
                        $dir = dirname( $finalPath );
                        if ( !file_exists( $dir ) ) {
-                               if ( !wfMkdirParents( $dir ) ) {
+                               if ( !wfMkdirParents( $dir, null, __METHOD__ ) ) {
                                        $this->log( "RENAME FAILED, COULD NOT CREATE $dir" );
                                        $db->rollback();
                                        return;