* Mon Jun 30 2025 Brian Read <brianr@koozali.org> 11.0.0-99.sme

- Directory panel  - Add in open for config db as required by cacheing  [SME: 13059]
This commit is contained in:
Brian Read 2025-06-30 20:00:21 +01:00
parent 8ada3f36e0
commit 21255abf46
2 changed files with 7 additions and 3 deletions

View File

@ -39,6 +39,7 @@ sub main {
sub do_update {
my $c = shift;
$c->app->log->info($c->log_req);
$db = esmith::ConfigDB::UTF8->open() || die "Couldn't open config db";
my $access = $c->param('access');
my $department = $c->param('department');
my $company = $c->param('company');
@ -84,7 +85,7 @@ sub get_ldap_base {
sub get_value {
my $fm = shift;
my $item = shift;
$db = esmith::ConfigDB::UTF8->open() || die "Couldn't open config db";
my $record = $db->get($item);
if ($record) {
return $record->value();
@ -93,4 +94,4 @@ sub get_value {
return '';
}
}
1;
1;

View File

@ -2,7 +2,7 @@ Summary: Sme server navigation module : manager 2
%define name smeserver-manager
Name: %{name}
%define version 11.0.0
%define release 98
%define release 99
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@ -146,6 +146,9 @@ true
%defattr(-,root,root)
%changelog
* Mon Jun 30 2025 Brian Read <brianr@koozali.org> 11.0.0-99.sme
- Directory panel - Add in open for config db as required by cacheing [SME: 13059]
* Sun Jun 29 2025 Brian Read <brianr@koozali.org> 11.0.0-98.sme
- Re-factor email settings panel as error handling not working as expected. [SME: 12973]