From fab8209ebd4a052f8af5918de8603fd21a4bc7a6 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 17 Mar 2015 00:33:43 -0700 Subject: turn photo location mapping into a feature --- include/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/photos.php') 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']); } -- cgit v1.2.3