Classes/Command/BackendApiCommandController.php 1 location
|
@@ 76-84 (lines=9) @@
|
73 |
|
|
74 |
|
\TYPO3\CMS\Core\Utility\GeneralUtility::writeFile(PATH_typo3conf . 'LOCK_BACKEND', (string)$redirectUrl); |
75 |
|
|
76 |
|
if ($redirectUrl === NULL) { |
77 |
|
$message = 'Wrote lock file to \'typo3conf/LOCK_BACKEND\''; |
78 |
|
$this->outputLine($message); |
79 |
|
$this->logger->info($message); |
80 |
|
} else { |
81 |
|
$message = 'Wrote lock file to \'typo3conf/LOCK_BACKEND\' with instruction to redirect to: \'' . $redirectUrl . '\''; |
82 |
|
$this->outputLine($message); |
83 |
|
$this->logger->info($message); |
84 |
|
} |
85 |
|
} |
86 |
|
|
87 |
|
/** |
Classes/Command/CacheApiCommandController.php 1 location
|
@@ 114-122 (lines=9) @@
|
111 |
|
public function clearAllActiveOpcodeCacheCommand($fileAbsPath = NULL) { |
112 |
|
$this->cacheApiService->clearAllActiveOpcodeCache($fileAbsPath); |
113 |
|
|
114 |
|
if ($fileAbsPath !== NULL) { |
115 |
|
$message = sprintf('The opcode cache for the file %s has been cleared', $fileAbsPath); |
116 |
|
$this->outputLine($message); |
117 |
|
$this->logger->info($message); |
118 |
|
} else { |
119 |
|
$message = 'The complete opcode cache has been cleared'; |
120 |
|
$this->outputLine($message); |
121 |
|
$this->logger->info($message); |
122 |
|
} |
123 |
|
} |
124 |
|
|
125 |
|
/** |
Classes/Command/ExtensionApiCommandController.php 1 location
|
@@ 187-195 (lines=9) @@
|
184 |
|
$this->outputLine('This may take a while...'); |
185 |
|
$result = $this->extensionApiService->updateMirrors(); |
186 |
|
|
187 |
|
if ($result) { |
188 |
|
$message = 'Extension list has been updated.'; |
189 |
|
$this->outputLine($message); |
190 |
|
$this->logger->info($message); |
191 |
|
} else { |
192 |
|
$message = 'Extension list already up-to-date.'; |
193 |
|
$this->outputLine($message); |
194 |
|
$this->logger->info($message); |
195 |
|
} |
196 |
|
} |
197 |
|
|
198 |
|
/** |