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
e8186783
Commit
e8186783
authored
Jul 10, 2017
by
Stefan Busemann
Browse files
[WIP] Hook setup
parent
576aadbb
Pipeline
#1445
passed with stages
in 5 minutes and 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/t3omy/Classes/Hooks/FeManagerHooks.php
View file @
e8186783
<?php
namespace
T3o\T3omy\Hooks
;
/***************************************************************
* Copyright notice
*
...
...
@@ -29,7 +29,7 @@
/**
* Hook Functions for \
*/
class
Tx_T3omy_Hooks_FeUser
s
{
class
FeManagerHook
s
{
/**
...
...
@@ -40,7 +40,7 @@ class Tx_T3omy_Hooks_FeUsers {
* DataHandlerHook constructor
*/
public
function
__construct
()
{
$this
->
ldap
=
new
Tx_T3oLdap_Utility_UserCreateUpdateDelete
();
#
$this->ldap = new Tx_T3oLdap_Utility_UserCreateUpdateDelete();
}
/**
...
...
@@ -80,4 +80,8 @@ class Tx_T3omy_Hooks_FeUsers {
}
public
function
writePassword
()
{
die
(
'halt'
);
}
}
html/typo3conf/ext/t3omy/ext_localconf.php
View file @
e8186783
...
...
@@ -7,5 +7,5 @@ if (!defined('TYPO3_MODE')) {
###
#######################################
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'EXTCONF'
][
'felogin'
][
'password_changed'
][]
=
'
FeManagerHooks->writePassword'
;
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'EXTCONF'
][
'felogin'
][
'password_changed'
][]
=
\
T3o\T3omy\Hooks\
FeManagerHooks
::
class
.
'
->writePassword'
;
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