@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitFederatedFileSharing::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitAdminAudit::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitShareByMail::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitComments::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitSystemTags::getLoader(); |
@@ -20,6 +20,6 @@ |
||
20 | 20 | ); |
21 | 21 | } |
22 | 22 | |
23 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
23 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
24 | 24 | |
25 | 25 | return ComposerAutoloaderInitUserStatus::getLoader(); |
@@ -116,7 +116,7 @@ |
||
116 | 116 | return null; |
117 | 117 | } |
118 | 118 | |
119 | - return (int)$row['last_contact']; |
|
119 | + return (int) $row['last_contact']; |
|
120 | 120 | } |
121 | 121 | |
122 | 122 | public function cleanUp(int $olderThan): void { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | protected function run($argument): void { |
51 | - $default = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . '/audit.log'; |
|
51 | + $default = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT.'/data').'/audit.log'; |
|
52 | 52 | $this->filePath = $this->config->getAppValue('admin_audit', 'logfile', $default); |
53 | 53 | |
54 | 54 | if ($this->filePath === '') { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | |
63 | 63 | $controllerClassPath = explode('\\', get_class($controller)); |
64 | 64 | $controllerShortClass = end($controllerClassPath); |
65 | - $bruteforceProtectionAction = $controllerShortClass . '::' . $methodName; |
|
65 | + $bruteforceProtectionAction = $controllerShortClass.'::'.$methodName; |
|
66 | 66 | $this->throttler->sleepDelayOrThrowOnMax($this->request->getRemoteAddress(), $bruteforceProtectionAction); |
67 | 67 | |
68 | 68 | if (!$this->isLinkSharingEnabled()) { |