Changeset 4684


Ignore:
Timestamp:
01/15/10 12:27:53 (10 years ago)
Author:
plg
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/ws_functions.inc.php

    r4512 r4684  
    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.