]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Better english
[friendica.git] / src / Protocol / Diaspora.php
index 67167ac930846c90c8278904a8d3cc5d5e9dc8a2..a0d99959bb46ebd88fee456828f471ad926c7458 100644 (file)
@@ -3970,7 +3970,7 @@ class Diaspora
         *
         * @return array The array with "first" and "last"
         */
-       private static function splitName($name) {
+       public static function splitName($name) {
                $name = trim($name);
 
                // Is the name longer than 64 characters? Then cut the rest of it.
@@ -4044,9 +4044,9 @@ class Diaspora
                $profile = $r[0];
                $handle = $profile["addr"];
 
-               $splitted_name = self::splitName($profile['name']);
-               $first = $splitted_name['first'];
-               $last = $splitted_name['last'];
+               $split_name = self::splitName($profile['name']);
+               $first = $split_name['first'];
+               $last = $split_name['last'];
 
                $large = System::baseUrl().'/photo/custom/300/'.$profile['uid'].'.jpg';
                $medium = System::baseUrl().'/photo/custom/100/'.$profile['uid'].'.jpg';