diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-01-03 20:21:13 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-01-03 20:21:13 +0000 |
commit | d0b5df605c98e4c6985d825ab7110d2e3e9cb072 (patch) | |
tree | c2679a774a87e8daa6cb36bcd927eb0e8269e5f3 /admin/batch_manager_global.php | |
parent | 6c3ff240cba49ff9a8868b13d93b8c8110204217 (diff) |
feature 2548 multisize
- rewrote local site sync + metadata sync
git-svn-id: http://piwigo.org/svn/trunk@12831 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/batch_manager_global.php | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/admin/batch_manager_global.php b/admin/batch_manager_global.php index 74e1a6a21..73e3586b5 100644 --- a/admin/batch_manager_global.php +++ b/admin/batch_manager_global.php @@ -382,19 +382,7 @@ DELETE // synchronize metadata if ('metadata' == $action) { - $query = ' -SELECT id, path - FROM '.IMAGES_TABLE.' - WHERE id IN ('.implode(',', $collection).') -;'; - $id_to_path = array(); - $result = pwg_query($query); - while ($row = pwg_db_fetch_assoc($result)) - { - $id_to_path[$row['id']] = $row['path']; - } - - update_metadata($id_to_path); + sync_metadata($collection); array_push( $page['infos'], |