• Lukas Reschke's avatar
    Run preupdate before an update · 5f8fb8d1
    Lukas Reschke authored
    The update routine tries to test the database migration before actually performing the update.
    
    However, this will fail hard if the schema has changed (for example an unique key has been added). App developers can convert the DB in preupdate.php, however it is not called before and therefore the update fails.
    
    This actually breaks ownCloud updates from ownCloud 6 to ownCloud 7 when the files_antivirus app is enabled.
    5f8fb8d1