Commit 7403f1a1 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[TASK] remove not finished code, add docs

parent bea247c9
Pipeline #1728 passed with stages
in 3 minutes and 47 seconds
......@@ -33,7 +33,6 @@ use T3o\T3oLdap\Connectors\Ldap;
use T3o\T3oLdap\Utility\UserCreateUpdateDelete;
use TYPO3\CMS\Core\TypoScript\TypoScriptService;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Utility\DebuggerUtility;
/**
* Hook Functions for \
......@@ -46,7 +45,7 @@ class FeManagerHooks
protected $ldapUserCreateUpdateDelete;
/**
* @var settings
* @var array
*/
protected $settings;
......@@ -105,9 +104,12 @@ class FeManagerHooks
);
}
/**
* @param User $user
*/
public function newUserAdminApprovement(User $user)
{
#AutoApprovementRefused
#User was approved via backend
$this->sendSlackBotMessage(
'User approved',
sprintf(
......@@ -120,9 +122,12 @@ class FeManagerHooks
);
}
/**
* @param User $user
*/
public function newUserAdminDecline(User $user)
{
#AutoApprovementRefused
#User was approved via backend
$this->sendSlackBotMessage(
'User declined',
sprintf(
......@@ -148,11 +153,11 @@ class FeManagerHooks
// TODO: Create log entry if user has been successfully added or throw an exception otherwise
if ($result === true) {
#if ($result === true) {
} else {
#} else {
}
#}
return true;
}
......
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