|
@@ -91,7 +91,7 @@ discard block |
|
|
block discarded – undo |
|
91
|
91
|
'<error>WARNING! You are about to delete all data related to the Circles App!</error>' |
|
92
|
92
|
); |
|
93
|
93
|
$question = new ConfirmationQuestion( |
|
94
|
|
- '<comment>Do you really want to ' . $action . ' Circles ?</comment> (y/N) ', false, |
|
|
94
|
+ '<comment>Do you really want to '.$action.' Circles ?</comment> (y/N) ', false, |
|
95
|
95
|
'/^(y|Y)/i' |
|
96
|
96
|
); |
|
97
|
97
|
|
|
@@ -107,7 +107,7 @@ discard block |
|
|
block discarded – undo |
|
107
|
107
|
$output->writeln('<error>WARNING! This operation is not reversible.</error>'); |
|
108
|
108
|
|
|
109
|
109
|
$question = new Question( |
|
110
|
|
- '<comment>Please confirm this destructive operation by typing \'' . $action |
|
|
110
|
+ '<comment>Please confirm this destructive operation by typing \''.$action |
|
111
|
111
|
. '\'</comment>: ', '' |
|
112
|
112
|
); |
|
113
|
113
|
|
|
@@ -125,7 +125,7 @@ discard block |
|
|
block discarded – undo |
|
125
|
125
|
$this->coreRequestBuilder->uninstall(); |
|
126
|
126
|
} |
|
127
|
127
|
|
|
128
|
|
- $output->writeln('<info>' . $action . ' done</info>'); |
|
|
128
|
+ $output->writeln('<info>'.$action.' done</info>'); |
|
129
|
129
|
|
|
130
|
130
|
return 0; |
|
131
|
131
|
} |
|
@@ -138,7 +138,7 @@ discard block |
|
|
block discarded – undo |
|
138
|
138
|
$this->maintenanceService->runMaintenance($i, $input->getOption('force-refresh')); |
|
139
|
139
|
} catch (MaintenanceException $e) { |
|
140
|
140
|
$this->logger->warning('issue while performing maintenance', ['level' => $i, ['exception' => $e]]); |
|
141
|
|
- $output->writeln('- <error>issue while performing maintenance</error> ' . $e->getMessage() . ' (more details in logs)'); |
|
|
141
|
+ $output->writeln('- <error>issue while performing maintenance</error> '.$e->getMessage().' (more details in logs)'); |
|
142
|
142
|
} |
|
143
|
143
|
} |
|
144
|
144
|
|
|
@@ -158,7 +158,7 @@ discard block |
|
|
block discarded – undo |
|
158
|
158
|
$federatedUser = $this->federatedUserService->getLocalFederatedUser($userId); |
|
159
|
159
|
$displayName = $this->maintenanceService->updateDisplayName($federatedUser); |
|
160
|
160
|
if ($displayName !== '') { |
|
161
|
|
- $output->writeln('Display name of ' . $federatedUser->getSingleId() . ' updated to ' . $displayName); |
|
|
161
|
+ $output->writeln('Display name of '.$federatedUser->getSingleId().' updated to '.$displayName); |
|
162
|
162
|
} |
|
163
|
163
|
|
|
164
|
164
|
return 0; |
|
@@ -173,7 +173,7 @@ discard block |
|
|
block discarded – undo |
|
173
|
173
|
try { |
|
174
|
174
|
$this->refreshSingleDisplayName($row['uid'], $output); |
|
175
|
175
|
} catch (Exception $e) { |
|
176
|
|
- $output->writeln(get_class($e) . ' while trying to update display name of ' . $row['uid']); |
|
|
176
|
+ $output->writeln(get_class($e).' while trying to update display name of '.$row['uid']); |
|
177
|
177
|
} |
|
178
|
178
|
} |
|
179
|
179
|
} |