blob: 71d73571b1087f4d78035def516858d6a1556514 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
namespace OC\Comments;
use OCP\Comments\ICommentsManager;
use OCP\Comments\ICommentsManagerFactory;
class ManagerFactory implements ICommentsManagerFactory {
/**
* creates and returns an instance of the ICommentsManager
*
* @return ICommentsManager
* @since 9.0.0
*/
public function getManager() {
return new Manager(
\oc::$server->getDatabaseConnection(),
\oc::$server->getUserManager(),
\oc::$server->getLogger()
);
}
}
|