Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
6cb75dff
Commit
6cb75dff
authored
Jan 25, 2017
by
Côme Chilliet
Browse files
Removed unused var spotted by sonar
parent
095e51d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/class_tests.inc
View file @
6cb75dff
...
...
@@ -38,8 +38,8 @@
* The functions need to be handled with care, because they are not as strict
* as one might expect.
*/
class
tests
{
class
tests
{
/*!
* \brief Test if the given string is a phone number
*
...
...
@@ -292,7 +292,7 @@ class tests {
{
global
$config
;
$reservedNames
=
array
();
foreach
(
$config
->
data
[
'OBJECTS'
]
as
$type
=>
$infos
)
{
foreach
(
$config
->
data
[
'OBJECTS'
]
as
$infos
)
{
if
(
isset
(
$infos
[
'ou'
]))
{
if
(
$infos
[
'ou'
]
!=
''
)
{
if
(
preg_match
(
'/ou=([^,]+),$/'
,
$infos
[
'ou'
],
$m
))
{
...
...
Write
Preview
Markdown
is supported
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