Rename setIgnore() to ignore()
This commit is contained in:
parent
d2c210753a
commit
bf0782dc6b
|
@ -93,7 +93,10 @@ class Introduction extends BaseEntity
|
|||
$this->id = $id;
|
||||
}
|
||||
|
||||
public function setIgnore()
|
||||
/**
|
||||
* Ignore the current Introduction
|
||||
*/
|
||||
public function ignore()
|
||||
{
|
||||
$this->ignore = true;
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ class FollowRequests extends BaseApi
|
|||
DI::intro()->delete($introduction);
|
||||
break;
|
||||
case 'ignore':
|
||||
$introduction->setIgnore();
|
||||
$introduction->ignore();
|
||||
$relationship = DI::mstdnRelationship()->createFromContactId($contactId, $uid);
|
||||
|
||||
DI::intro()->save($introduction);
|
||||
|
|
|
@ -59,7 +59,7 @@ class Notification extends BaseModule
|
|||
DI::intro()->delete($intro);
|
||||
break;
|
||||
case DI::l10n()->t('Ignore'):
|
||||
$intro->setIgnore();
|
||||
$intro->ignore();
|
||||
DI::intro()->save($intro);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue