Changeset 4685


Ignore:
Timestamp:
01/15/10 12:28:18 (10 years ago)
Author:
plg
Message:

merge r4684 from branch 2.0 to trunk

feature 1381: pwg.images.add automatically synchronizes metadata. Thank you to
Jochen Roth (Polly) for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_functions.inc.php

    r4513 r4685  
    12551255  } 
    12561256 
     1257  // update metadata from the uploaded file (exif/iptc) 
     1258  require_once(PHPWG_ROOT_PATH.'admin/include/functions_metadata.php'); 
     1259  update_metadata(array($image_id=>$file_path)); 
     1260   
    12571261  invalidate_user_cache(); 
    12581262} 
Note: See TracChangeset for help on using the changeset viewer.