mirror of
https://github.com/nextcloud/app_api.git
synced 2026-01-13 20:19:21 +00:00
Found this when writing a small test for **nc_py_api**
without this change `$taskProcessingProvider->id` are always `null`
```php
$taskProcessingProvider = $this->getExAppTaskProcessingProvider($appId, $name);
if ($taskProcessingProvider !== null) {
$this->mapper->delete($taskProcessingProvider);
$this->resetCacheEnabled();
return $taskProcessingProvider;
}
```
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>