mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Obsolescence: do not lose external keys pointing to obsolete data
SVN:trunk[4786]
This commit is contained in:
@@ -78,7 +78,16 @@ abstract class DBSearch
|
||||
}
|
||||
public function GetShowObsoleteData()
|
||||
{
|
||||
return $this->m_bShowObsoleteData;
|
||||
if ($this->m_bArchiveMode || $this->IsAllDataAllowed())
|
||||
{
|
||||
// Enable obsolete data too!
|
||||
$bRet = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$bRet = $this->m_bShowObsoleteData;
|
||||
}
|
||||
return $bRet;
|
||||
}
|
||||
|
||||
public function NoContextParameters() {$this->m_bNoContextParameters = true;}
|
||||
|
||||
Reference in New Issue
Block a user