X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FWikiHowProfile%2FWikiHowProfilePlugin.php;h=1156ac933a4173a754c9ad573d99c62d1a5e19fb;hb=abd90bbdf562614755802885dfb5673645df8575;hp=a0cbe567f73ac5836c018b4cda7c0a4d3edd2482;hpb=40b2ce60ee3fe1281362294269b4c18c6a55c2ae;p=quix0rs-gnu-social.git diff --git a/plugins/WikiHowProfile/WikiHowProfilePlugin.php b/plugins/WikiHowProfile/WikiHowProfilePlugin.php index a0cbe567f7..1156ac933a 100644 --- a/plugins/WikiHowProfile/WikiHowProfilePlugin.php +++ b/plugins/WikiHowProfile/WikiHowProfilePlugin.php @@ -154,7 +154,7 @@ class WikiHowProfilePlugin extends Plugin $absolute = $base->resolve($src); $avatarUrl = strval($absolute); - common_log(LOG_DEBUG, "WikiHow avatar found for $profileUrl - $avatarUrl"); + common_debug("WikiHow avatar found for $profileUrl - $avatarUrl"); $data['avatar'] = $avatarUrl; } @@ -188,9 +188,7 @@ class WikiHowProfilePlugin extends Plugin $profile = $user->getProfile(); $id = $profile->id; - // @fixme should we be using different ids? - - $imagefile = new ImageFile($id, $temp_filename); + $imagefile = new ImageFile(null, $temp_filename); $filename = Avatar::filename($id, image_type_to_extension($imagefile->type), null,