Pass options as array to IDatabase::insert
[lhc/web/wiklou.git] / maintenance / Maintenance.php
index 44ce9a5..1b17e8c 100644 (file)
@@ -1724,7 +1724,7 @@ abstract class LoggedUpdateMaintenance extends Maintenance {
                        return false;
                }
 
-               $db->insert( 'updatelog', [ 'ul_key' => $key ], __METHOD__, 'IGNORE' );
+               $db->insert( 'updatelog', [ 'ul_key' => $key ], __METHOD__, [ 'IGNORE' ] );
 
                return true;
        }