mirror of
https://github.com/nextcloud/passman.git
synced 2024-11-11 18:16:54 +08:00
42b73148e6
Some db changes for sharing Sharing route added Other minor changes
27 lines
No EOL
558 B
PHP
27 lines
No EOL
558 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: wolfi
|
|
* Date: 1/10/16
|
|
* Time: 23:15
|
|
*/
|
|
|
|
namespace OCA\Passman\Db;
|
|
|
|
|
|
use OCA\Passman\Utility\Utils;
|
|
use OCP\AppFramework\Db\Mapper;
|
|
use OCP\IDBConnection;
|
|
|
|
class ShareRequestMapper extends Mapper {
|
|
const TABLE_NAME = '`*PREFIX*passman_share_request`';
|
|
|
|
public function __construct(IDBConnection $db, Utils $utils) {
|
|
parent::__construct($db, self::TABLE_NAME);
|
|
$this->utils = $utils;
|
|
}
|
|
|
|
public function createRequest(ShareRequest $request){
|
|
parent::insert($request);
|
|
}
|
|
} |