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

Commit 437fa06c authored by theronakpatel's avatar theronakpatel
Browse files

Generic event patch removed

parent e98eb455
Loading
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -232,8 +232,6 @@ RUN patch -u ${BASE_DIR}/apps/dav/lib/HookManager.php -i ${TMP_PATCH_DIR}/028-de
RUN patch -u ${BASE_DIR}/apps/provisioning_api/lib/Controller/UsersController.php -i ${TMP_PATCH_DIR}/029-restrict-user-to-change-primary-email.patch
RUN patch -u ${BASE_DIR}/lib/private/Security/VerificationToken/VerificationToken.php -i ${TMP_PATCH_DIR}/033-verification-token-private.patch
RUN patch -u ${BASE_DIR}/lib/private/AppFramework/Middleware/Security/CORSMiddleware.php -i ${TMP_PATCH_DIR}/034-oidc-bearer-token-auth.patch
#fixed regression in generic event type for nextcloud 28.0.9
RUN patch -u ${BASE_DIR}/apps/dav/lib/AppInfo/Application.php -i  ${TMP_PATCH_DIR}/038-generic-event-fix.patch

#commenting code to re-enable account creation
RUN patch -u ${BASE_DIR}/lib/private/User/Session.php -i  ${TMP_PATCH_DIR}/039-reenable-ac-comment-setupfs.patch
+0 −16
Original line number Diff line number Diff line
From: Avinash Gusain <avinash.gusain.ext@murena.com>
Date: Wed, 04 Sept 2024 18:50:00 +0530
Subject: [PATCH] Fixed Generic event 

This patch basically fix a regression caused in 28.0.9 by changing the correct event type

---  apps/dav/lib/AppInfo/Application.php	2024-09-04 13:08:44
+++  apps/dav/lib/AppInfo/Application-new.php	2024-09-04 13:09:40
@@ -110,7 +110,7 @@
 use OCP\User\Events\OutOfOfficeScheduledEvent;
 use Psr\Container\ContainerInterface;
 use Psr\Log\LoggerInterface;
-use Symfony\Component\EventDispatcher\GenericEvent;
+use OCP\EventDispatcher\GenericEvent;
 use Throwable;
 use function is_null;
 No newline at end of file