Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
t3o
my.typo3.org
Commits
7403f1a1
Commit
7403f1a1
authored
Jul 20, 2017
by
Stefan Busemann
Browse files
[TASK] remove not finished code, add docs
parent
bea247c9
Pipeline
#1728
passed with stages
in 3 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/t3omy/Classes/Hooks/FeManagerHooks.php
View file @
7403f1a1
...
...
@@ -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
)
{
#
AutoApprovementRefuse
d
#
User was approved via backen
d
$this
->
sendSlackBotMessage
(
'User approved'
,
sprintf
(
...
...
@@ -120,9 +122,12 @@ class FeManagerHooks
);
}
/**
* @param User $user
*/
public
function
newUserAdminDecline
(
User
$user
)
{
#
AutoApprovementRefuse
d
#
User was approved via backen
d
$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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment