Start porting Admin audit to new events#32019
Conversation
d997c8b to
ec11322
Compare
ec11322 to
fe22b7f
Compare
fe22b7f to
6066303
Compare
nickvergessen
left a comment
There was a problem hiding this comment.
Or am I missing something?
6066303 to
f460155
Compare
f460155 to
ad4fe1c
Compare
291eb93 to
e6e6a95
Compare
Signed-off-by: Carl Schwan <[email protected]>
9a9326b to
3f118f9
Compare
|
|
||
| /** | ||
| * determines the next configuration prefix based on the last one (if any) | ||
| * |
Check notice
Code scanning / Psalm
PossiblyNullOperand
| $coreUserManager, $coreNotificationManager, $shareManager); | ||
| $connector = new Connection($this->ldap, $configPrefix); | ||
| $access = new Access($connector, $this->ldap, $userManager, new Helper($ocConfig, \OC::$server->getDatabaseConnection()), $ocConfig, $coreUserManager, $logger); | ||
| $access = new Access($connector, $this->ldap, $userManager, new Helper($ocConfig, \OC::$server->getDatabaseConnection()), $ocConfig, $coreUserManager, $logger, $dispatcher); |
Check notice
Code scanning / Psalm
PossiblyUndefinedVariable
| $coreNotificationManager = \OC::$server->getNotificationManager(); | ||
| $shareManager = \OC::$server->get(IManager::class); | ||
| $logger = \OC::$server->get(LoggerInterface::class); | ||
| $dispatcher = \OC::$server->get(IEventDispatcher::class); |
There was a problem hiding this comment.
make $dispatcher static, otherwise it will be null on the next runs.
There was a problem hiding this comment.
Why? Is that specific to IEventDispatcher?
There was a problem hiding this comment.
the local var, look couple lines above
There was a problem hiding this comment.
Ok understood, nice catch.
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
|
I've pulled most of this in #37193, apart from the heavier refactoring from |
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
|
Closing here in favor of #37193 |
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
Based on work from #32019 Signed-off-by: Thomas Citharel <[email protected]>
No description provided.