mirror of
https://github.com/nextcloud/passman.git
synced 2024-12-29 11:32:47 +08:00
Add parameters to controllers
This commit is contained in:
parent
42e092f262
commit
514694d4c7
4 changed files with 10 additions and 10 deletions
|
@ -36,21 +36,21 @@ class CredentialController extends Controller {
|
|||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function get() {
|
||||
public function get($credential_id) {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function update() {
|
||||
public function update($credential_id) {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function delete() {
|
||||
public function delete($credential_id) {
|
||||
return;
|
||||
}
|
||||
}
|
|
@ -30,7 +30,7 @@ class FileController extends Controller {
|
|||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function upload() {
|
||||
public function upload($credential_id) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ class FileController extends Controller {
|
|||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function delete() {
|
||||
public function delete($credential_id, $file_id) {
|
||||
return;
|
||||
}
|
||||
}
|
|
@ -29,7 +29,7 @@ class RevisionController extends Controller {
|
|||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function get() {
|
||||
public function get($credential_id) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@ class RevisionController extends Controller {
|
|||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function delete() {
|
||||
public function delete($credential_id, $revision_id) {
|
||||
return;
|
||||
}
|
||||
}
|
|
@ -36,21 +36,21 @@ class VaultController extends Controller {
|
|||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function get() {
|
||||
public function get($vault_id) {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function update() {
|
||||
public function update($vault_id) {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
*/
|
||||
public function delete() {
|
||||
public function delete($vault_id) {
|
||||
return;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue