Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcos Zuriaga <wolfi@wolfi.es>2016-10-12 20:08:59 +0300
committerMarcos Zuriaga <wolfi@wolfi.es>2016-10-12 20:08:59 +0300
commit5186648889e76d92e5066b626e981ea73c15fc9f (patch)
tree640300a639279cf2db6333f10c154ee0249c1f8d /lib
parent9c53219346bb4c9b69baa27d69338d0b8b158a93 (diff)
Added unit test for SharingACLMapper
Renamed some vars Added launch_phpunit.sh to gitignore
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/SharingACLMapper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Db/SharingACLMapper.php b/lib/Db/SharingACLMapper.php
index f019930d..93a1a81a 100644
--- a/lib/Db/SharingACLMapper.php
+++ b/lib/Db/SharingACLMapper.php
@@ -29,12 +29,12 @@ class SharingACLMapper extends Mapper {
/**
* Gets the currently accepted share requests from the given user for the given vault guid
* @param $user_id
- * @param $vault_id
+ * @param $vault_guid
* @return SharingACL[]
*/
- public function getVaultEntries($user_id, $vault_id) {
+ public function getVaultEntries($user_id, $vault_guid) {
$q = "SELECT * FROM ". self::TABLE_NAME ." WHERE user_id = ? AND vault_guid = ?";
- return $this->findEntities($q, [$user_id, $vault_id]);
+ return $this->findEntities($q, [$user_id, $vault_guid]);
}
/**