Ticket #6300: mythtv-6300-only_backup_DB_if_upgradeallowed.patch
File mythtv-6300-only_backup_DB_if_upgradeallowed.patch, 728 bytes (added by , 15 years ago) |
---|
-
libs/libmythtv/dbcheck.cpp
old new 478 478 479 479 // An upgrade is likely. We do the backup first so that 480 480 // the UI can tell the user where the backup is located. 481 DBup->BackupDB(); 481 if (upgradeAllowed) 482 DBup->BackupDB(); 483 else 484 VERBOSE(VB_IMPORTANT, "Not allowed to upgrade the database. " 485 "Skipping backup."); 482 486 483 487 // Pop up messages, questions, warnings, et c. 484 488 switch (DBup->PromptForUpgrade("TV", upgradeAllowed,