Permalink
Browse files

Fix #414 - errors upgrading some settings

  • Loading branch information...
tbar0970
tbar0970 committed Oct 6, 2017
1 parent bd27491 commit 9af17160c53137a808b886c6c812b61dcf5cc32c
Showing with 2 additions and 2 deletions.
  1. +2 −2 include/config_manager.class.php
@@ -51,15 +51,15 @@ public static function migrateEnabledFeatures()
{
$value = explode(',', ENABLED_FEATURES);
$value = array_diff($value, Array('DATES'));
self::saveSetting(ENABLED_FEATURES, $value);
self::saveSetting('ENABLED_FEATURES', $value);
}
public static function migrateLockLength()
{
// used to be in strtotime format; now in minutes
$secs = strtotime('+'.LOCK_LENGTH);
self::saveSetting(LOCK_LENGTH, $secs/60);
self::saveSetting('LOCK_LENGTH', $secs/60);
}
public static function migrateAgeBracketOptions()

0 comments on commit 9af1716

Please sign in to comment.