X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FGravatar%2FGravatarPlugin.php;h=dd8ff7217615e8138ee55a5623fa04126de75868;hb=59a413cf5e246c33c684b2338ab8443232776b3f;hp=f415541bfe872d56107b68b97c15857e5d0ecf0b;hpb=1c5e00df3035b2f0280ad98d028742adef2b09c4;p=quix0rs-gnu-social.git diff --git a/plugins/Gravatar/GravatarPlugin.php b/plugins/Gravatar/GravatarPlugin.php index f415541bfe..dd8ff72176 100644 --- a/plugins/Gravatar/GravatarPlugin.php +++ b/plugins/Gravatar/GravatarPlugin.php @@ -132,13 +132,12 @@ class GravatarPlugin extends Plugin return false; } - function gravatar_save() { $cur = common_current_user(); if(empty($cur->email)) { - return array('message' => _m('You do not have a email address set in your profile.'), + return array('message' => _m('You do not have an email address set in your profile.'), 'success' => false); } //Get rid of previous Avatar @@ -156,7 +155,7 @@ class GravatarPlugin extends Plugin $gravatar->created = DB_DataObject_Cast::dateTime(); # current time if (!$gravatar->insert()) { - return array('message' => _m('Failed to save Gravatar to the DB.'), + return array('message' => _m('Failed to save Gravatar to the database.'), 'success' => false); } }