From: Mikael Nordfeldth Date: Tue, 27 Jan 2015 13:14:24 +0000 (+0100) Subject: Default value false for $force on Ostatus updateAvatar X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=acec8b8cf2d0c46a2a52a6221a92cc817a8d325c;p=quix0rs-gnu-social.git Default value false for $force on Ostatus updateAvatar --- diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index f5433ef159..79098c6404 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -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.