Commit 3bf55a8f authored by Akhil's avatar Akhil 😶
Browse files

Rename namespace and change APP_NAME to APP_ID

parent 8ac5c042
......@@ -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 @@
declare(strict_types=1);
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