1 |
mrjhb3 |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-horde-4.0.0/root/etc/e-smith/events/actions/horde_upgrade mezzanine_patched_e-smith-horde-4.0.0/root/etc/e-smith/events/actions/horde_upgrade |
2 |
|
|
--- e-smith-horde-4.0.0/root/etc/e-smith/events/actions/horde_upgrade 2008-06-03 23:04:29.000000000 -0500 |
3 |
|
|
+++ mezzanine_patched_e-smith-horde-4.0.0/root/etc/e-smith/events/actions/horde_upgrade 2009-05-02 19:08:06.000000000 -0500 |
4 |
|
|
@@ -64,6 +64,10 @@ |
5 |
|
|
$sth_horde_histories->execute; |
6 |
|
|
my $horde_histories = $sth_horde_histories->fetchall_hashref('Field'); |
7 |
|
|
|
8 |
|
|
+my $sth_horde_sessionhandler = $db_hordehandle->prepare("show columns from horde_sessionhandler"); |
9 |
|
|
+$sth_horde_sessionhandler->execute; |
10 |
|
|
+my $horde_sessionhandler = $sth_horde_sessionhandler->fetchall_hashref('Field'); |
11 |
|
|
+ |
12 |
|
|
my $sth_horde_syncml_map = $db_hordehandle->prepare("show columns from horde_syncml_map"); |
13 |
|
|
$sth_horde_syncml_map->execute; |
14 |
|
|
my $horde_syncml_map = $sth_horde_syncml_map->fetchall_hashref('Field'); |
15 |
|
|
@@ -311,6 +315,16 @@ |
16 |
|
|
$statement->execute or die "execute: $$statement: $DBI::errstr"; |
17 |
|
|
} |
18 |
|
|
|
19 |
|
|
+# Create an index for session_lastmodified if needed |
20 |
|
|
+unless ($horde_sessionhandler->{session_lastmodified}->{Key}) |
21 |
|
|
+{ |
22 |
|
|
+ my $statement = 'alter table horde_sessionhandler ' . |
23 |
|
|
+ 'add index session_lastmodified_idx (session_lastmodified)'; |
24 |
|
|
+ $statement = $db_hordehandle->prepare($statement) or |
25 |
|
|
+ die "prepare: $$statement: $DBI::errstr"; |
26 |
|
|
+ $statement->execute or die "execute: $$statement: $DBI::errstr"; |
27 |
|
|
+} |
28 |
|
|
+ |
29 |
|
|
# Create an index for syncml_syncpartner if needed |
30 |
|
|
unless ($horde_syncml_map->{syncml_syncpartner}->{Key}) |
31 |
|
|
{ |
32 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-horde-4.0.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/00header mezzanine_patched_e-smith-horde-4.0.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/00header |
33 |
|
|
--- e-smith-horde-4.0.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/00header 2009-05-02 19:10:28.000000000 -0500 |
34 |
|
|
+++ mezzanine_patched_e-smith-horde-4.0.0/root/etc/e-smith/templates/home/httpd/html/horde/config/conf.php/00header 2009-05-02 18:38:56.000000000 -0500 |
35 |
|
|
@@ -1,4 +1,4 @@ |
36 |
|
|
//00header |
37 |
|
|
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */ |
38 |
|
|
-// $Horde: horde/config/conf.xml,v 1.74.2.81 2008/11/27 05:29:45 chuck Exp $ |
39 |
|
|
+// $Horde: horde/config/conf.xml,v 1.74.2.84 2009/04/04 12:30:51 jan Exp $ |
40 |
|
|
|