Removed unused namespaces
This commit is contained in:
parent
4409b11d60
commit
0e661a439f
@ -12,9 +12,7 @@ use OCA\GPodderSync\Db\SubscriptionChange\SubscriptionChangeRepository;
|
|||||||
|
|
||||||
use OCP\AppFramework\Controller;
|
use OCP\AppFramework\Controller;
|
||||||
use OCP\AppFramework\Http\JSONResponse;
|
use OCP\AppFramework\Http\JSONResponse;
|
||||||
use OCP\IL10N;
|
|
||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
use OCP\Settings\ISettings;
|
|
||||||
|
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
@ -85,7 +83,7 @@ class PersonalSettingsController extends Controller {
|
|||||||
try {
|
try {
|
||||||
$podcast = $this->podcastCacheService->getCachedOrFetchPodcastData($url);
|
$podcast = $this->podcastCacheService->getCachedOrFetchPodcastData($url);
|
||||||
$sub['podcast'] = $podcast;
|
$sub['podcast'] = $podcast;
|
||||||
} catch (Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$sub['podcast'] = null;
|
$sub['podcast'] = null;
|
||||||
$this->logger->error("Failed to get podcast data.", [
|
$this->logger->error("Failed to get podcast data.", [
|
||||||
'exception' => $e,
|
'exception' => $e,
|
||||||
|
@ -4,8 +4,6 @@ declare(strict_types=1);
|
|||||||
namespace OCA\GPodderSync\Settings;
|
namespace OCA\GPodderSync\Settings;
|
||||||
|
|
||||||
use OCP\AppFramework\Http\TemplateResponse;
|
use OCP\AppFramework\Http\TemplateResponse;
|
||||||
use OCP\IConfig;
|
|
||||||
use OCP\IL10N;
|
|
||||||
use OCP\Settings\ISettings;
|
use OCP\Settings\ISettings;
|
||||||
|
|
||||||
class GPodderSyncPersonal implements ISettings {
|
class GPodderSyncPersonal implements ISettings {
|
||||||
|
Loading…
Reference in New Issue
Block a user