]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/classes/Ostatus_profile.php
Default value false for $force on Ostatus updateAvatar
[quix0rs-gnu-social.git] / plugins / OStatus / classes / Ostatus_profile.php
index f5433ef159498a0f0a08bdfeb98cd87744144148..79098c64048ed31705b54ecfb94259619dad826d 100644 (file)
@@ -1237,7 +1237,7 @@ class Ostatus_profile extends Managed_DataObject
      * @return Avatar    The Avatar we have on disk. (seldom used)
      * @throws Exception in various failure cases
      */
-    public function updateAvatar($url, $force)
+    public function updateAvatar($url, $force=false)
     {
         try {
             // If avatar URL differs: update. If URLs were identical but we're forced: update.