Browse Source

Merge pull request #12169 from nextcloud/interface-fulltextsearc-issue-00001

wrong method called
tags/v15.0.0beta1
Roeland Jago Douma 5 years ago
parent
commit
ed35bc7f40
No account linked to committer's email address

+ 1
- 1
lib/private/FullTextSearch/FullTextSearchManager.php View File

@@ -195,7 +195,7 @@ class FullTextSearchManager implements IFullTextSearchManager {
* @throws FullTextSearchAppNotAvailableException
*/
public function updateIndexesStatus(string $providerId, array $documentIds, int $status, bool $reset = false) {
$this->getIndexService()->updateIndexStatus($providerId, $documentIds, $status, $reset);
$this->getIndexService()->updateIndexesStatus($providerId, $documentIds, $status, $reset);
}



+ 2
- 2
lib/public/FullTextSearch/Service/IIndexService.php View File

@@ -65,11 +65,11 @@ interface IIndexService {
* @since 15.0.0
*
* @param string $providerId
* @param $documentId
* @param string $documentId
* @param int $status
* @param bool $reset
*/
public function updateIndexStatus(string $providerId, $documentId, int $status, bool $reset = false);
public function updateIndexStatus(string $providerId, string $documentId, int $status, bool $reset = false);


/**

Loading…
Cancel
Save