From acec8b8cf2d0c46a2a52a6221a92cc817a8d325c Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 27 Jan 2015 14:14:24 +0100 Subject: [PATCH] Default value false for $force on Ostatus updateAvatar --- plugins/OStatus/classes/Ostatus_profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5