Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remove echo
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl authored and backportbot[bot] committed Jul 6, 2021
commit 9cfc98591e445e2c9cead512d480bc18795d6bc1
7 changes: 6 additions & 1 deletion lib/Service/MaintenanceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@


use ArtificialOwl\MySmallPhpTools\Model\SimpleDataStore;
use ArtificialOwl\MySmallPhpTools\Traits\Nextcloud\nc22\TNC22Logger;
use Exception;
use OCA\Circles\Db\CircleRequest;
use OCA\Circles\Db\MemberRequest;
Expand All @@ -53,6 +54,9 @@
class MaintenanceService {


use TNC22Logger;


const TIMEOUT = 18000;


Expand Down Expand Up @@ -91,6 +95,7 @@ class MaintenanceService {
* @param IUserManager $userManager
* @param CircleRequest $circleRequest
* @param MemberRequest $memberRequest
* @param SyncService $syncService
* @param FederatedUserService $federatedUserService
* @param EventWrapperService $eventWrapperService
* @param CircleService $circleService
Expand Down Expand Up @@ -140,7 +145,7 @@ public function runMaintenance(int $level): void {
$this->federatedUserService->bypassCurrentUserCondition(true);

$this->lockMaintenanceRun();
echo 'running maintenance(' . $level . ')' . "\n";
$this->debug('running maintenance (' . $level . ')');

switch ($level) {
case 1:
Expand Down