Commit acec8b8c authored by mmn's avatar mmn

Default value false for $force on Ostatus updateAvatar

parent cc996f58
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment