Changeset 838 for trunk/Packages/Common


Ignore:
Timestamp:
Sep 18, 2016, 6:39:52 PM (8 years ago)
Author:
chronos
Message:
  • Added: TinyMCE package.
Location:
trunk/Packages/Common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/Database.php

    r791 r838  
    154154    }
    155155    $Values = substr($Values, 2);
     156    echo('UPDATE `'.$this->Prefix.$Table.'` SET '.$Values.' WHERE ('.$Condition.')');
    156157    $this->query('UPDATE `'.$this->Prefix.$Table.'` SET '.$Values.' WHERE ('.$Condition.')');
    157158  }
  • trunk/Packages/Common/Update.php

    r791 r838  
    4343    while($this->Revision > $DbRevision)
    4444    {
     45      if(!array_key_exists($DbRevision, $this->Trace))
     46        die('Missing upgrade trace for revision '.$DbRevision);
    4547      $TraceItem = $this->Trace[$DbRevision];
    4648      $Output .= 'Aktualizace na verzi '.$TraceItem['Revision'].':<br/>';
Note: See TracChangeset for help on using the changeset viewer.