Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6acd5407 authored by theronakpatel's avatar theronakpatel
Browse files

Loggers and version change

parent 22f54e75
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
* 📎 **Attachments!** Add, upload and view event attachments
* 🙈 **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.
	]]></description>
	<version>5.3.5</version>
	<version>5.3.5+murena-20251016</version>
	<licence>agpl</licence>
	<author homepage="https://github.com/st3iny">Richard Steinmetz</author>
	<author homepage="https://github.com/SebastianKrupinski">Sebastian Krupinski </author>
+5 −5
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ use OCP\Defaults;
use OCP\IConfig;
use OCP\IDBConnection;
use OCP\IL10N;
use OCP\ILogger;
use Psr\Log\LoggerInterface;
use OCP\IRequest;
use OCP\IUserManager;
use OCP\L10N\IFactory as L10NFactory;
@@ -62,7 +62,7 @@ class Application extends App implements IBootstrap {
				$c->get(IMailer::class),
				$c->get(IL10N::class),
                $c->get(Defaults::class),
				$c->get(ILogger::class),
                $c->get(LoggerInterface::class),
				$c->get(IUserManager::class),
				$c->get(L10NFactory::class),
			);
@@ -86,7 +86,7 @@ class Application extends App implements IBootstrap {
				$c->get(IMailer::class),
				$c->get(IL10N::class),
                $c->get(Defaults::class),
				$c->get(ILogger::class),
                $c->get(LoggerInterface::class),
				$c->get(IUserManager::class),
				$c->get(L10NFactory::class),
			);
+4 −4
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ use OCP\Defaults;
use OCP\IConfig;
use OCP\IDBConnection;
use OCP\IL10N;
use OCP\ILogger;
use Psr\Log\LoggerInterface;
use OCP\IRequest;
use OCP\IUserManager;
use OCP\L10N\IFactory;
@@ -31,7 +31,7 @@ class InvitationMiddleware extends Middleware {
		IMailer $mailer,
		IL10N $l10n,
		Defaults $defaults,
		ILogger $logger,
        LoggerInterface $logger,
		IUserManager $iusermanager,
		IFactory $languageFactory,
	) {
@@ -229,7 +229,7 @@ class InvitationMiddleware extends Middleware {
				$this->mailer->send($message);
			} catch (\Exception $e) {
                // Log the exception and continue
				$this->logger->logException($e);
                $this->logger->error($e->getMessage(), ['exception' => $e]);
			}
		}

+3 −4
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@ use OCA\Calendar\BackgroundJob\CleanUpOutdatedBookingsJob;
use OCA\Calendar\Service\Appointments\BookingService;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Calendar\ICalendarQuery;
use OCP\ILogger;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;

@@ -60,7 +59,7 @@ class CleanupOutdatedBookingJobTest extends TestCase {
		$this->job->setLastRun(0);
		$this->job->execute(
            $this->createMock(JobList::class),
			$this->createMock(ILogger::class)
            $this->createMock(LoggerInterface::class)
		);
	}
}