mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-16 08:26:03 +08:00
Removed unused var from mapper constructor
This commit is contained in:
parent
5186648889
commit
61dbcedfa4
2 changed files with 14 additions and 2 deletions
|
@ -17,9 +17,8 @@ use OCP\IDBConnection;
|
|||
class ShareRequestMapper extends Mapper {
|
||||
const TABLE_NAME = 'passman_share_request';
|
||||
|
||||
public function __construct(IDBConnection $db, Utils $utils) {
|
||||
public function __construct(IDBConnection $db) {
|
||||
parent::__construct($db, self::TABLE_NAME);
|
||||
$this->utils = $utils;
|
||||
}
|
||||
|
||||
public function createRequest(ShareRequest $request){
|
||||
|
|
13
tests/unit/lib/Db/ShareRequestMapperTest.php
Normal file
13
tests/unit/lib/Db/ShareRequestMapperTest.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
*
|
||||
* Date: 12/10/16
|
||||
* Time: 19:21
|
||||
*
|
||||
* @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es)
|
||||
* @license AGPLv3
|
||||
*/
|
||||
class ShareRequestMapperTest {
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue