/**
  * delete action filter
  * @global ilDB $ilDB
  * @return bool
  */
 public function delete()
 {
     global $ilDB;
     parent::delete();
     $query = 'DELETE FROM didactic_tpl_abr ' . 'WHERE action_id  = ' . $ilDB->quote($this->getActionId(), 'integer');
     $ilDB->manipulate($query);
     foreach ($this->getFilterPattern() as $pattern) {
         $pattern->delete();
     }
     return true;
 }
 /**
  * Delete
  * @global ilDB $ilDB
  * @return bool
  */
 public function delete()
 {
     global $ilDB;
     parent::delete();
     $query = 'DELETE FROM didactic_tpl_alr ' . 'WHERE action_id = ' . $ilDB->quote($this->getActionId(), 'integer');
     $ilDB->manipulate($query);
     return true;
 }