/[smeserver]/rpms/e-smith-manager/sme8/e-smith-manager-1.14.0-navigationdb.patch
ViewVC logotype

Contents of /rpms/e-smith-manager/sme8/e-smith-manager-1.14.0-navigationdb.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Oct 7 18:44:02 2008 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf
2 --- e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf 2008-07-31 10:01:11.000000000 -0600
3 +++ mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/events/actions/navigation-conf 2008-07-31 10:00:56.000000000 -0600
4 @@ -22,7 +22,7 @@
5
6 use strict;
7
8 -use esmith::ConfigDB;
9 +use esmith::NavigationDB;
10 use esmith::I18N;
11
12 use constant WEBFUNCTIONS => '/etc/e-smith/web/functions';
13 @@ -81,8 +81,8 @@
14 #warn "updating script $file for lang $lang\n";
15 my $navdb = $navdbs{$lang};
16 my $navinfo = NAVIGATIONDIR . "/navigation.$lang";
17 - $navdb ||= esmith::ConfigDB->open($navinfo);
18 - $navdb ||= esmith::ConfigDB->create($navinfo) or
19 + $navdb ||= esmith::NavigationDB->open($navinfo);
20 + $navdb ||= esmith::NavigationDB->create($navinfo) or
21 die "Couldn't create $navinfo\n";
22 $navdbs{$lang} ||= $navdb;
23 my $rec = $navdb->get($file) ||

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed