Ignore:
Timestamp:
Jan 3, 2012, 9:21:13 PM (12 years ago)
Author:
rvelices
Message:

feature 2548 multisize

  • rewrote local site sync + metadata sync
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_global.php

    r12796 r12831  
    383383  if ('metadata' == $action)
    384384  {
    385     $query = '
    386 SELECT id, path
    387   FROM '.IMAGES_TABLE.'
    388   WHERE id IN ('.implode(',', $collection).')
    389 ;';
    390     $id_to_path = array();
    391     $result = pwg_query($query);
    392     while ($row = pwg_db_fetch_assoc($result))
    393     {
    394       $id_to_path[$row['id']] = $row['path'];
    395     }
    396    
    397     update_metadata($id_to_path);
     385    sync_metadata($collection);
    398386
    399387    array_push(
Note: See TracChangeset for help on using the changeset viewer.