projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6223295
)
Convert old timeobject preferences.
author
Jan Schneider
<jan@horde.org>
Wed, 4 Nov 2009 14:56:14 +0000
(15:56 +0100)
committer
Jan Schneider
<jan@horde.org>
Wed, 4 Nov 2009 14:58:57 +0000
(15:58 +0100)
kronolith/lib/Kronolith.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Kronolith.php
b/kronolith/lib/Kronolith.php
index
6f69873
..
a7cf7e3
100644
(file)
--- a/
kronolith/lib/Kronolith.php
+++ b/
kronolith/lib/Kronolith.php
@@
-894,6
+894,12
@@
class Kronolith
$calendarId = $api . '/' . $id;
if (in_array($calendarId, $_temp)) {
$GLOBALS['display_external_calendars'][] = $calendarId;
+ } else {
+ /* Convert Kronolith 2 preferences. */
+ list($oldid,) = explode('/', $id);
+ if (in_array($api . '/' . $oldid, $_temp)) {
+ $GLOBALS['display_external_calendars'][] = $calendarId;
+ }
}
}
}