Permalink
Browse files

Default gravatar to use vanillicon as it's default.

  • Loading branch information...
1 parent 65ce095 commit 8140f13594e8e0eee884585540de303286a2d973 @tburry tburry committed Apr 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/Gravatar/default.php
View
4 plugins/Gravatar/default.php
@@ -27,7 +27,7 @@ public function ProfileController_AfterAddSideMenu_Handler($Sender, $Args) {
.'gravatar_id='.md5(strtolower($Email))
.'&size='.C('Garden.Profile.MaxWidth', 200);
- if (C('Plugins.Gravatar.UseVanillicon', FALSE))
+ if (C('Plugins.Gravatar.UseVanillicon', TRUE))
$Url .= '&default='.urlencode(Asset('http://vanillicon.com/'.md5($Email).'_200.png'));
else
$Url .= '&default='.urlencode(Asset(C('Plugins.Gravatar.DefaultAvatar', 'plugins/Gravatar/default_250.png'), TRUE));
@@ -48,7 +48,7 @@ function UserPhotoDefaultUrl($User) {
.'gravatar_id='.md5(strtolower($Email))
.'&size='.C('Garden.Thumbnail.Width', 50);
- if (C('Plugins.Gravatar.UseVanillicon', FALSE))
+ if (C('Plugins.Gravatar.UseVanillicon', TRUE))
$Url .= '&default='.urlencode(Asset('http://vanillicon.com/'.md5($Email).'.png'));
else
$Url .= '&default='.urlencode(Asset(C('Plugins.Gravatar.DefaultAvatar', 'plugins/Gravatar/default.png'), TRUE));

0 comments on commit 8140f13

Please sign in to comment.