Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
III-485 remove deletion of deleted images by collaboration (udb2 remo…
Browse files Browse the repository at this point in the history
…ves images now if not provided in update xml)
  • Loading branch information
svenhoutmeyers committed Jan 8, 2016
1 parent 318e8c6 commit 1a36d1a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions culturefeed_entry_ui/includes/culturefeed_entry_ui.pages.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1825,16 +1825,6 @@ function _culturefeed_entry_ui_ui_event_form_save_event($form, &$form_state, Cul
$file->setFilename($drupal_file->filename);

$detail->getMedia()->add($file);
// Remove old image
// Bug on UDB ... will be fixed soon
if (isset($values['photo']['current_file_hlink'])) {
try {
Drupalculturefeed_EntryApi::removeLinkFromEvent($event, $values['photo']['current_file_hlink']);

} catch (Exception $e) {
watchdog_exception('culturefeed_entry_ui', $e);
}
}
}

// Media links
Expand Down

0 comments on commit 1a36d1a

Please sign in to comment.