Skip to content

Commit

Permalink
Remove Google Cloud Print
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Palm committed Oct 28, 2024
1 parent 57e79d4 commit 44b8dc0
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 448 deletions.
3 changes: 0 additions & 3 deletions classes/Modules/GoogleApi/GoogleScope.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

final class GoogleScope
{
/** @var string CLOUDPRINT */
public const CLOUDPRINT = 'https://www.googleapis.com/auth/cloudprint';

/** @var string CALENDAR */
public const CALENDAR = 'https://www.googleapis.com/auth/calendar';

Expand Down
19 changes: 0 additions & 19 deletions classes/Modules/GoogleApi/Service/GoogleAccountGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,25 +213,6 @@ public function getScopes(int $accountId): array
return array_values($pairs);
}

/**
* Will be removed after Dec 31. 2020
*
* @deprecated
*
* @codeCoverageIgnore
*
* @return GoogleAccountData
*/
public function getCloudPrintAccount(): GoogleAccountData
{
$accounts = $this->getAccountsByScope(GoogleScope::CLOUDPRINT);
if (count($accounts) < 1) {
throw new GoogleAccountNotFoundException('No cloud printing account available.');
}

return $accounts[0];
}

/**
* @param int $accountId
*
Expand Down
109 changes: 0 additions & 109 deletions classes/Modules/GoogleCloudPrint/www/js/PrinterGoogleCloudPrint.js

This file was deleted.

156 changes: 0 additions & 156 deletions www/lib/Printer/PrinterGoogleCloudPrint/PrinterGoogleCloudPrint.php

This file was deleted.

57 changes: 0 additions & 57 deletions www/pages/content/googleapi_print.tpl

This file was deleted.

Loading

0 comments on commit 44b8dc0

Please sign in to comment.