Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
infra
ecloud
nextcloud-apps
Ecloud Accounts
Commits
3bf55a8f
Commit
3bf55a8f
authored
Jan 13, 2022
by
Akhil
😶
Browse files
Rename namespace and change APP_NAME to APP_ID
parent
8ac5c042
Changes
3
Hide whitespace changes
Inline
Side-by-side
lib/AppInfo/Application.php
View file @
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\
Event
s\UserDeletedListener
;
use
OCA\EcloudAccounts\
Listener
s\UserDeletedListener
;
class
Application
extends
App
implements
IBootstrap
...
...
lib/
Event
s/UserDeletedListener.php
→
lib/
Listener
s/UserDeletedListener.php
View file @
3bf55a8f
...
...
@@ -2,7 +2,7 @@
declare
(
strict_types
=
1
);
namespace
OCA\EcloudAccounts\
Event
s
;
namespace
OCA\EcloudAccounts\
Listener
s
;
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
;
...
...
lib/
Event
s/curl.class.php
→
lib/
Listener
s/curl.class.php
View file @
3bf55a8f
File moved
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment