Ignore:
Timestamp:
Mar 20, 2016, 10:33:00 PM (9 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/IS/IS.php

    r795 r820  
    233233        $Form->LoadValuesFromDatabase($Id);
    234234        $this->ShortTitle .= ' - '.$Form->Definition['Title'].' odstranění';
     235        if(array_key_exists('BeforeDelete', $Form->Definition))
     236        {
     237          call_user_func($Form->Definition['BeforeDelete'], $Form, $Id);
     238        }
    235239        $this->LogChange($Form, 'Delete', 0, $Id);
    236240        $this->Database->delete($Table, '`Id`='.$Id);
Note: See TracChangeset for help on using the changeset viewer.