@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | */ |
254 | 254 | public function delete() { |
255 | 255 | /** @deprecated 21.0.0 use BeforeUserDeletedEvent event with the IEventDispatcher instead */ |
256 | - $this->legacyDispatcher->dispatch(IUser::class . '::preDelete', new GenericEvent($this)); |
|
256 | + $this->legacyDispatcher->dispatch(IUser::class.'::preDelete', new GenericEvent($this)); |
|
257 | 257 | if ($this->emitter) { |
258 | 258 | /** @deprecated 21.0.0 use BeforeUserDeletedEvent event with the IEventDispatcher instead */ |
259 | 259 | $this->emitter->emit('\OC\User', 'preDelete', [$this]); |
@@ -293,7 +293,7 @@ discard block |
||
293 | 293 | $accountManager->deleteUser($this); |
294 | 294 | |
295 | 295 | /** @deprecated 21.0.0 use UserDeletedEvent event with the IEventDispatcher instead */ |
296 | - $this->legacyDispatcher->dispatch(IUser::class . '::postDelete', new GenericEvent($this)); |
|
296 | + $this->legacyDispatcher->dispatch(IUser::class.'::postDelete', new GenericEvent($this)); |
|
297 | 297 | if ($this->emitter) { |
298 | 298 | /** @deprecated 21.0.0 use UserDeletedEvent event with the IEventDispatcher instead */ |
299 | 299 | $this->emitter->emit('\OC\User', 'postDelete', [$this]); |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | * @return bool |
312 | 312 | */ |
313 | 313 | public function setPassword($password, $recoveryPassword = null) { |
314 | - $this->legacyDispatcher->dispatch(IUser::class . '::preSetPassword', new GenericEvent($this, [ |
|
314 | + $this->legacyDispatcher->dispatch(IUser::class.'::preSetPassword', new GenericEvent($this, [ |
|
315 | 315 | 'password' => $password, |
316 | 316 | 'recoveryPassword' => $recoveryPassword, |
317 | 317 | ])); |
@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | $result = $this->backend->setPassword($this->uid, $password); |
323 | 323 | |
324 | 324 | if ($result !== false) { |
325 | - $this->legacyDispatcher->dispatch(IUser::class . '::postSetPassword', new GenericEvent($this, [ |
|
325 | + $this->legacyDispatcher->dispatch(IUser::class.'::postSetPassword', new GenericEvent($this, [ |
|
326 | 326 | 'password' => $password, |
327 | 327 | 'recoveryPassword' => $recoveryPassword, |
328 | 328 | ])); |
@@ -347,9 +347,9 @@ discard block |
||
347 | 347 | if ($this->backend->implementsActions(Backend::GET_HOME) and $home = $this->backend->getHome($this->uid)) { |
348 | 348 | $this->home = $home; |
349 | 349 | } elseif ($this->config) { |
350 | - $this->home = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . '/' . $this->uid; |
|
350 | + $this->home = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT.'/data').'/'.$this->uid; |
|
351 | 351 | } else { |
352 | - $this->home = \OC::$SERVERROOT . '/data/' . $this->uid; |
|
352 | + $this->home = \OC::$SERVERROOT.'/data/'.$this->uid; |
|
353 | 353 | } |
354 | 354 | } |
355 | 355 | return $this->home; |
@@ -541,7 +541,7 @@ discard block |
||
541 | 541 | $uid = $this->getUID(); |
542 | 542 | $server = $this->urlGenerator->getAbsoluteURL('/'); |
543 | 543 | $server = rtrim($this->removeProtocolFromUrl($server), '/'); |
544 | - return $uid . '@' . $server; |
|
544 | + return $uid.'@'.$server; |
|
545 | 545 | } |
546 | 546 | |
547 | 547 | /** |
@@ -559,7 +559,7 @@ discard block |
||
559 | 559 | } |
560 | 560 | |
561 | 561 | public function triggerChange($feature, $value = null, $oldValue = null) { |
562 | - $this->legacyDispatcher->dispatch(IUser::class . '::changeUser', new GenericEvent($this, [ |
|
562 | + $this->legacyDispatcher->dispatch(IUser::class.'::changeUser', new GenericEvent($this, [ |
|
563 | 563 | 'feature' => $feature, |
564 | 564 | 'value' => $value, |
565 | 565 | 'oldValue' => $oldValue, |