Commit 25cb4ad5 authored by Akhil's avatar Akhil 😶
Browse files

Merge branch 'minor-fixes' into 'nc21'

Rename namespace and change APP_NAME to APP_ID

See merge request e/infra/selfhost/nextcloud-apps/ecloud-drop-account!6
parents 8ac5c042 3bf55a8f
......@@ -32,7 +32,7 @@ use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IRegistrationContext;
use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\User\Events\UserDeletedEvent;
use OCA\EcloudAccounts\Events\UserDeletedListener;
use OCA\EcloudAccounts\Listeners\UserDeletedListener;
class Application extends App implements IBootstrap
......@@ -2,7 +2,7 @@
namespace OCA\EcloudAccounts\Events;
namespace OCA\EcloudAccounts\Listeners;
use Curl;
use OCA\EcloudAccounts\AppInfo\Application;
......@@ -76,7 +76,7 @@ class UserDeletedListener implements IEventListener
return json_decode($answer, true);
} catch (\Exception $e) {
$this->logger->error('There has been an issue while contacting the external deletion script');
$this->logger->logException($e, ['app' => Application::APP_NAME]);
$this->logger->logException($e, ['app' => Application::APP_ID]);
return null;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment