Removed data overhead = less data transferred when opening a photo

This commit is contained in:
Tobias Reich 2014-03-18 22:57:49 +01:00
parent 61bb527911
commit 30a312679c

View File

@ -36,6 +36,11 @@ function getPhoto($photoID, $albumID) {
unset($return['album_public']);
// Remove unused items
foreach ($return as $key => $value) {
if (is_int($key)) unset($return[$key]);
}
return $return;
}