Commit 6289e594 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Rename UserProfileChangeKarmaIssuer to UserProfileChangeKarmaIssuerUtility

parent bcecd42b
Pipeline #6140 passed with stages
in 2 minutes and 29 seconds
......@@ -2,7 +2,7 @@
namespace T3o\Karma\Controller;
use T3o\Karma\Utility\UserProfileChangeKarmaIssuer;
use T3o\Karma\Utility\UserProfileChangeKarmaIssuerUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Object\ObjectManager;
......@@ -40,8 +40,8 @@ class ManagerController extends AbstractController
/** @var ObjectManager $objectManager */
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
/** @var UserProfileChangeKarmaIssuer $testUserProfileChangeKarmaIssuerSlot */
$testUserProfileChangeKarmaIssuerSlot = $objectManager->get(UserProfileChangeKarmaIssuer::class);
/** @var UserProfileChangeKarmaIssuerUtility $testUserProfileChangeKarmaIssuerSlot */
$testUserProfileChangeKarmaIssuerSlot = $objectManager->get(UserProfileChangeKarmaIssuerUtility::class);
$testUserProfileChangeKarmaIssuerSlot->newUserWasCreated($frontendUser);
}
......
......@@ -34,7 +34,7 @@ use TYPO3\CMS\Extbase\Object\ObjectManager;
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
class UserProfileChangeKarmaIssuer
class UserProfileChangeKarmaIssuerUtility
{
/**
* @var \T3o\Karma\Service\KarmaService
......@@ -62,7 +62,7 @@ class UserProfileChangeKarmaIssuer
protected $settings;
/**
* UserProfileChangeKarmaIssuer constructor.
* UserProfileChangeKarmaIssuerUtility constructor.
*/
public function __construct()
{
......
......@@ -40,6 +40,6 @@ $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TY
$signalSlotDispatcher->connect(
\In2code\Femanager\Controller\AbstractController::class,
'finalCreateAfterPersist',
\T3o\Karma\Utility\UserProfileChangeKarmaIssuer::class,
\T3o\Karma\Utility\UserProfileChangeKarmaIssuerUtility::class,
'newUserWasCreated'
);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment