2016-09-10 01:05:18 +08:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Nextcloud - passman
|
|
|
|
*
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
|
|
* later. See the COPYING file.
|
|
|
|
*
|
|
|
|
* @author Sander Brand <brantje@gmail.com>
|
|
|
|
* @copyright Sander Brand 2016
|
|
|
|
*/
|
|
|
|
|
2016-09-11 18:33:09 +08:00
|
|
|
namespace OCA\Passman\Db;
|
2016-09-10 01:05:18 +08:00
|
|
|
use OCP\Activity\IManager;
|
|
|
|
use OCP\DB\QueryBuilder\IQueryBuilder;
|
|
|
|
use OCP\IDBConnection;
|
|
|
|
use OCP\IL10N;
|
|
|
|
/**
|
|
|
|
* @brief Class for managing the data in the activities
|
|
|
|
*/
|
|
|
|
class Credential {
|
|
|
|
|
|
|
|
/** @var IDBConnection */
|
|
|
|
protected $connection;
|
|
|
|
/**
|
|
|
|
* @param IManager $activityManager
|
|
|
|
* @param IDBConnection $connection
|
|
|
|
*/
|
|
|
|
public function __construct(IDBConnection $connection) {
|
|
|
|
$this->connection = $connection;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|