]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Default value false for $force on Ostatus updateAvatar
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 27 Jan 2015 13:14:24 +0000 (14:14 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 27 Jan 2015 13:14:24 +0000 (14:14 +0100)
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.