Default value false for $force on Ostatus updateAvatar
This commit is contained in:
parent
cc996f58db
commit
acec8b8cf2
@ -1237,7 +1237,7 @@ class Ostatus_profile extends Managed_DataObject
|
|||||||
* @return Avatar The Avatar we have on disk. (seldom used)
|
* @return Avatar The Avatar we have on disk. (seldom used)
|
||||||
* @throws Exception in various failure cases
|
* @throws Exception in various failure cases
|
||||||
*/
|
*/
|
||||||
public function updateAvatar($url, $force)
|
public function updateAvatar($url, $force=false)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
// If avatar URL differs: update. If URLs were identical but we're forced: update.
|
// If avatar URL differs: update. If URLs were identical but we're forced: update.
|
||||||
|
Loading…
Reference in New Issue
Block a user