From 36dcd1d73b2262f9521483e9502ccf263e4fcbb9 Mon Sep 17 00:00:00 2001 From: Peter Lohse Date: Fri, 1 Nov 2024 17:45:33 +0100 Subject: [PATCH] update for 6.0 --- eventListener.xml | 4 +- .../JCoinsTeamspeak3AddListener.class.php | 4 +- package.xml | 69 ++++++++----------- 3 files changed, 34 insertions(+), 43 deletions(-) diff --git a/eventListener.xml b/eventListener.xml index f0cabce..2dadea6 100644 --- a/eventListener.xml +++ b/eventListener.xml @@ -1,5 +1,5 @@ - + wcf\data\user\teamspeak\TeamspeakAction @@ -7,4 +7,4 @@ wcf\system\event\listener\JCoinsTeamspeak3AddListener - \ No newline at end of file + diff --git a/files/lib/system/event/listener/JCoinsTeamspeak3AddListener.class.php b/files/lib/system/event/listener/JCoinsTeamspeak3AddListener.class.php index 09158c4..1a114d8 100644 --- a/files/lib/system/event/listener/JCoinsTeamspeak3AddListener.class.php +++ b/files/lib/system/event/listener/JCoinsTeamspeak3AddListener.class.php @@ -5,9 +5,9 @@ use wcf\system\user\jcoins\UserJCoinsStatementHandler; use wcf\system\WCF; -class JCoinsTeamspeak3AddListener implements IParameterizedEventListener +final class JCoinsTeamspeak3AddListener extends AbstractEventListener { - public function execute($eventObj, $className, $eventName, array &$parameters) + protected function onFinalizeAction($eventObj) { if (!MODULE_JCOINS || !WCF::getUser()->userID) { return; diff --git a/package.xml b/package.xml index 5d5b61d..7d85ebf 100644 --- a/package.xml +++ b/package.xml @@ -1,43 +1,34 @@ - - - - - - - 1.1.1 - 2019-12-10 - - - - - - - - - - - - - com.woltlab.wcf - eu.hanashi.wsc.teamspeak3-sync - de.wcflabs.wcf.jcoins - - - - - - - - - - - - - - + + + + TeamSpeak-Sync (JCoins) + TeamSpeak-Sync (JCoins) + Synchronizes user groups between WSC and TeamSpeak. + Ergänzt JCoins-Abhängigkeit für TeamSpeak-Sync. + 1.2.0 + 2024-11-01 + + + Hanashi Development + https://hanashi.dev/ + + + com.woltlab.wcf + eu.hanashi.wsc.teamspeak3-sync + de.wcflabs.wcf.jcoins + + + com.woltlab.wcf + + + + + + + - - + +