Реализована форма разблокировки аккаунта

This commit is contained in:
ErickSkrauch
2017-01-05 00:57:04 +03:00
parent b9e5e3a679
commit 6f81c38b7f
7 changed files with 217 additions and 0 deletions

View File

@@ -13,4 +13,9 @@ class InternalRoute extends BasePage {
$this->actor->sendPOST($this->getUrl());
}
public function pardon($accountId) {
$this->route = '/internal/accounts/' . $accountId . '/ban';
$this->actor->sendDELETE($this->getUrl());
}
}