diff options
author | friendica <info@friendica.com> | 2015-03-17 00:33:43 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-17 00:33:43 -0700 |
commit | fab8209ebd4a052f8af5918de8603fd21a4bc7a6 (patch) | |
tree | 80590f6645a623168f767f88e7cef6bc29e6b294 /include/photos.php | |
parent | 7af012b1f95fb329c9bf127a60e0a383d853e37d (diff) | |
download | volse-hubzilla-fab8209ebd4a052f8af5918de8603fd21a4bc7a6.tar.gz volse-hubzilla-fab8209ebd4a052f8af5918de8603fd21a4bc7a6.tar.bz2 volse-hubzilla-fab8209ebd4a052f8af5918de8603fd21a4bc7a6.zip |
turn photo location mapping into a feature
Diffstat (limited to 'include/photos.php')
-rw-r--r-- | include/photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photos.php b/include/photos.php index 4785e47c4..4d3f4c755 100644 --- a/include/photos.php +++ b/include/photos.php @@ -208,7 +208,7 @@ function photo_upload($channel, $observer, $args) { $lat = $lon = null; if($exif && $exif['GPS']) { - if(get_pconfig($channel_id,'system','allow_photo_location')) { + if(feature_enabled($channel_id,'photo_location')) { $lat = getGps($exif['GPS']['GPSLatitude'], $exif['GPSLatitudeRef']); $lon = getGps($exif['GPS']['GPSLongitude'], $exif['GPSLongitudeRef']); } |