blob: 41978d0cf4bde75a6fd947421d70bc6af8de85e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?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->getLogger()
);
}
}
|