Obsolescence: background task setting (or resetting) the obsolescence date for obsolete data. The periodicity can be tuned by the mean of obsolescence.date_update_interval, defaulting to 10 minutes. Also renamed show_obsolete_data into obsolescence.show_obsolete_data for consistency.

SVN:trunk[4745]
This commit is contained in:
Romain Quetiez
2017-05-19 09:20:13 +00:00
parent 3b48428897
commit 80121b89c3
6 changed files with 75 additions and 4 deletions

View File

@@ -194,7 +194,7 @@ class utils
*/
public static function ShowObsoleteData()
{
$bDefault = MetaModel::GetConfig()->Get('show_obsolete_data'); // default is false
$bDefault = MetaModel::GetConfig()->Get('obsolescence.show_obsolete_data'); // default is false
$bShow = appUserPreferences::GetPref('show_obsolete_data', $bDefault);
if (static::IsArchiveMode())
{