Browse files

remove stale settings values for start early / end late

The values are moved to the default recording rule template in schema
change 1302, see [71c65ba].
These old values have been confusing users of MythWeb for long enough.
  • Loading branch information...
1 parent 0b75d2d commit 81dafe7baca8d3e8252ba2f6ece9e725005e81c2 @dekarl dekarl committed Feb 24, 2014
Showing with 13 additions and 0 deletions.
  1. +13 −0 mythtv/libs/libmythtv/dbcheck.cpp
@@ -2645,6 +2645,19 @@ NULL
" ADD COLUMN inetref varchar(40) DEFAULT '' AFTER videoprop;",
"ALTER TABLE recordedprogram "
" ADD COLUMN inetref varchar(40) DEFAULT '' AFTER videoprop;",
+ "DELETE FROM settings WHERE value='DefaultStartOffset';",
+ "DELETE FROM settings WHERE value='DefaultEndOffset';",
+ "DELETE FROM settings WHERE value='AutoExpireDefault';",
+ "DELETE FROM settings WHERE value='AutoCommercialFlag';",
+ "DELETE FROM settings WHERE value='AutoTranscode';",
+ "DELETE FROM settings WHERE value='DefaultTranscoder';",
+ "DELETE FROM settings WHERE value='AutoRunUserJob1';",
+ "DELETE FROM settings WHERE value='AutoRunUserJob2';",
+ "DELETE FROM settings WHERE value='AutoRunUserJob3';",
+ "DELETE FROM settings WHERE value='AutoRunUserJob4';",
+ "DELETE FROM settings WHERE value='AutoMetadataLookup';",
+ "DELETE FROM housekeeping WHERE tag='DailyCleanup';",
+ "DELETE FROM housekeeping WHERE tag='ThemeChooserInfoCacheUpdate';",
if (!performActualUpdate(updates, "1323", dbver))

0 comments on commit 81dafe7

Please sign in to comment.