aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-09 20:29:36 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-09 20:29:36 -0800
commitc4a3487f0cee6391419fd73f2f89f074731a064c (patch)
tree3962c4fb01ae533cae0a452b4b034a5e9c968b4b /include/network.php
parente6de9bfa4ebe1fb1c7dd05c0d572c7d79d3323ee (diff)
downloadvolse-hubzilla-c4a3487f0cee6391419fd73f2f89f074731a064c.tar.gz
volse-hubzilla-c4a3487f0cee6391419fd73f2f89f074731a064c.tar.bz2
volse-hubzilla-c4a3487f0cee6391419fd73f2f89f074731a064c.zip
remove the obsolete avatar_img function (gravatar/libravatar lookup)
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/network.php b/include/network.php
index c67c019ef..65599bd05 100644
--- a/include/network.php
+++ b/include/network.php
@@ -526,28 +526,6 @@ function allowed_email($email) {
-function avatar_img($email) {
-
- $avatar = array();
- $a = get_app();
-
- $avatar['size'] = 300;
- $avatar['email'] = $email;
- $avatar['url'] = '';
- $avatar['success'] = false;
-
- call_hooks('avatar_lookup', $avatar);
-
- if (! $avatar['success'])
- $avatar['url'] = $a->get_baseurl() . '/' . get_default_profile_photo();
-
- logger('Avatar: ' . $avatar['email'] . ' ' . $avatar['url'], LOGGER_DEBUG);
-
- return $avatar['url'];
-}
-
-
-
function parse_xml_string($s,$strict = true) {
if($strict) {
if(! strstr($s,'<?xml'))