Changeset 780


Ignore:
Timestamp:
Jan 8, 2016, 8:41:45 AM (9 years ago)
Author:
chronos
Message:
  • Modified: Load upgrade trace list to memory only in upgrade is really performed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Setup/Setup.php

    r744 r780  
    383383    // Check database persistence structure
    384384    $this->UpdateManager = new UpdateManager();
    385     $this->UpdateManager->Database = $this->Database;
     385    $this->UpdateManager->Database = &$this->Database;
    386386    $this->UpdateManager->Revision = $DatabaseRevision;
    387     $Updates = new Updates();
    388     $this->UpdateManager->Trace = $Updates->Get();
    389387    $this->UpdateManager->InstallMethod = 'FullInstall';
    390388  }
     
    437435  function Upgrade()
    438436  {
     437    $Updates = new Updates();
     438    $this->UpdateManager->Trace = $Updates->Get();
    439439    $Output = $this->UpdateManager->Upgrade();
    440440    return($Output);
Note: See TracChangeset for help on using the changeset viewer.