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/picture_modify.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/picture_modify.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php index 57a78aaf2..a4bde5179 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -94,14 +94,7 @@ SELECT category_id if (isset($_GET['sync_metadata'])) { - $query = ' -SELECT path - FROM '.IMAGES_TABLE.' - WHERE id = '.$_GET['image_id'].' -;'; - list($path) = pwg_db_fetch_row(pwg_query($query)); - update_metadata(array($_GET['image_id'] => $path)); - + sync_metadata(array( intval($_GET['image_id']))); array_push($page['infos'], l10n('Metadata synchronized from file')); } |