More hashes to get rid of.

This commit is contained in:
Aaron van Geffen 2016-09-03 13:55:29 +02:00
parent f2ec122234
commit 5cac86d87f

View File

@ -175,9 +175,9 @@ for ($i = 0; $i < $num_photos; $i += 50)
[
'id_user_uploaded' => $old_user_id_to_new_user_id[$photo['owner_id']],
'subdir' => $dirnames_by_old_album_id[$photo['parent_id']],
'filename' => $photo['name'],
'filename' => str_replace('#', '', $photo['name']),
'title' => $photo['title'],
'slug' => $photo['relative_url_cache'],
'slug' => str_replace('#', '', urldecode($photo['relative_url_cache'])),
'mimetype' => $photo['mime_type'],
'image_width' => !empty($photo['width']) ? $photo['width'] : 'NULL',
'image_height' => !empty($photo['height']) ? $photo['height'] : 'NULL',