Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
36311a0d
Commit
36311a0d
authored
Apr 05, 2015
by
Xavier Guimard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better "missing conf to delete" log
parent
ac5f76f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/_DBI.pm
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/_DBI.pm
+7
-2
No files found.
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/_DBI.pm
View file @
36311a0d
...
...
@@ -87,8 +87,13 @@ sub unlock {
sub
delete
{
my
(
$self
,
$cfgNum
)
=
@_
;
$self
->
_dbh
->
do
(
"
DELETE from
"
.
$self
->
{
dbiTable
}
.
"
WHERE cfgNum=?
",
{},
$cfgNum
);
my
$req
=
$self
->
_dbh
->
prepare
("
DELETE FROM
$self
->{dbiTable} WHERE cfgNum=?
");
my
$res
=
$req
->
execute
(
$cfgNum
);
$
Lemonldap::NG::Common::Conf::
msg
.=
"
Unable to find conf
$cfgNum
(
"
.
$self
->
_dbh
->
errstr
.
"
)
"
unless
(
$res
);
return
$res
;
}
sub
logError
{
...
...
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