]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Photo.php
Funkwhale context file moved
[friendica.git] / src / Model / Photo.php
index d3d3783e2df4e143db95346245c45daa1af49cb9..096915523c6c6c3022429f2563073bd04a83fb08 100644 (file)
@@ -250,7 +250,7 @@ class Photo
         */
        private static function getFields(): array
        {
-               $allfields = DBStructure::definition(DI::app()->getBasePath(), false);
+               $allfields = DI::dbaDefinition()->getAll();
                $fields = array_keys($allfields['photo']['fields']);
                array_splice($fields, array_search('data', $fields), 1);
                return $fields;
@@ -586,6 +586,8 @@ class Photo
        }
 
        /**
+        * Returns a float that represents the GPS coordinate from EXIF data
+        *
         * @param array $exifCoord coordinate
         * @param string $hemi      hemi
         * @return float