mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-06 15:36:12 +00:00
missing changes from last commit
This commit is contained in:
parent
b7d929f425
commit
7ff55a4721
@ -22,12 +22,12 @@
|
||||
<repository type="git">https://github.com/nextcloud/ocsms</repository>
|
||||
<screenshot small-thumbnail="https://raw.githubusercontent.com/nextcloud/ocsms/master/appinfo/screenshots/1-small.png">https://raw.githubusercontent.com/nextcloud/ocsms/master/appinfo/screenshots/1.png</screenshot>
|
||||
|
||||
<fulltextsearch>
|
||||
<provider>OCA\OcSms\Provider\FullTextSearchProvider</provider>
|
||||
</fulltextsearch>
|
||||
<fulltextsearch>
|
||||
<provider>OCA\OcSms\Provider\FullTextSearchProvider</provider>
|
||||
</fulltextsearch>
|
||||
<repair-steps>
|
||||
<post-migration>
|
||||
<step>OCA\OcSms\Migration\FixConversationReadStates</step>
|
||||
<step>OCA\OcSms\Migration\FixConversationReadStates</step>
|
||||
</post-migration>
|
||||
</repair-steps>
|
||||
</info>
|
||||
|
@ -1,8 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* Nextcloud - Phone Sync
|
||||
*
|
||||
* This file is licensed under the Affero General Public License version 3 or
|
||||
* later. See the COPYING file.
|
||||
*
|
||||
* @author Loic Blot <loic.blot@unix-experience.fr>
|
||||
* @copyright Loic Blot 2014-2018
|
||||
*/
|
||||
|
||||
namespace OCA\YourNameSpace\Provider;
|
||||
|
||||
use OCA\FullTextSearch\IFullTextSearchProvider;
|
||||
|
||||
class MyProvider implements IFullTextSearchProvider {
|
||||
const OCSMS_PROVIDER_ID = 'ocsms';
|
||||
|
||||
/** @var IL10N */
|
||||
private $l10n;
|
||||
|
||||
/** @var ConfigService */
|
||||
private $configService;
|
||||
|
||||
/** @var FilesService */
|
||||
private $filesService;
|
||||
|
||||
/** @var SearchService */
|
||||
private $searchService;
|
||||
|
||||
/** @var MiscService */
|
||||
private $miscService;
|
||||
|
||||
public function __construct(IL10N $l10n, ConfigService $configService,
|
||||
FilesService $filesService,
|
||||
SearchService $searchService, MiscService $miscService
|
||||
) {
|
||||
$this->l10n = $l10n;
|
||||
$this->configService = $configService;
|
||||
$this->filesService = $filesService;
|
||||
$this->searchService = $searchService;
|
||||
$this->miscService = $miscService;
|
||||
}
|
||||
|
||||
/**
|
||||
* return unique id of the provider
|
||||
*/
|
||||
public function getId(): string {
|
||||
return self::OCSMS_PROVIDER_ID;
|
||||
}
|
||||
};
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user