@@ -59,7 +59,7 @@ |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @return mixed |
|
| 62 | + * @return string |
|
| 63 | 63 | */ |
| 64 | 64 | public function getParameter() { |
| 65 | 65 | return $this->random; |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | namespace OCA\Activity\Parameter; |
| 25 | 25 | |
| 26 | 26 | use OCP\IL10N; |
| 27 | -use OCP\Util; |
|
| 28 | 27 | |
| 29 | 28 | class Collection implements IParameter { |
| 30 | 29 | /** @var IL10N */ |
@@ -32,7 +32,6 @@ |
||
| 32 | 32 | use OCP\Activity\IEvent; |
| 33 | 33 | use OCP\Activity\IManager; |
| 34 | 34 | use OCP\Contacts\IManager as IContactsManager; |
| 35 | -use OCP\IConfig; |
|
| 36 | 35 | use OCP\IGroupManager; |
| 37 | 36 | use OCP\IL10N; |
| 38 | 37 | use OCP\IURLGenerator; |
@@ -24,14 +24,12 @@ |
||
| 24 | 24 | namespace OCA\Activity; |
| 25 | 25 | |
| 26 | 26 | use Doctrine\DBAL\Platforms\MySqlPlatform; |
| 27 | -use OCA\Activity\Exception\InvalidFilterException; |
|
| 28 | 27 | use OCP\Activity\IEvent; |
| 29 | 28 | use OCP\Activity\IExtension; |
| 30 | 29 | use OCP\Activity\IManager; |
| 31 | 30 | use OCP\DB\QueryBuilder\IQueryBuilder; |
| 32 | 31 | use OCP\IDBConnection; |
| 33 | 32 | use OCP\IL10N; |
| 34 | -use OCP\IUser; |
|
| 35 | 33 | use OCP\IUserSession; |
| 36 | 34 | |
| 37 | 35 | /** |
@@ -36,8 +36,6 @@ |
||
| 36 | 36 | class Version20181022150134 implements ISqlMigration { |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param Schema $schema |
|
| 40 | - * @param array $options |
|
| 41 | 39 | */ |
| 42 | 40 | public function sql(IDBConnection $connection) { |
| 43 | 41 | $platform = $connection->getDatabasePlatform(); |
@@ -23,8 +23,6 @@ |
||
| 23 | 23 | |
| 24 | 24 | use OCP\Migration\ISqlMigration; |
| 25 | 25 | use Doctrine\DBAL\Platforms\MySqlPlatform; |
| 26 | -use Doctrine\DBAL\Platforms\SqlitePlatform; |
|
| 27 | -use Doctrine\DBAL\Platforms\PostgreSqlPlatform; |
|
| 28 | 26 | use OCP\IDBConnection; |
| 29 | 27 | |
| 30 | 28 | /** |