Skip to content

Commit

Permalink
The 'vacation' pref needs migration too.
Browse files Browse the repository at this point in the history
It contains serialized information.
  • Loading branch information
yunosh committed Nov 15, 2016
1 parent 7c34bf9 commit 345740e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions ingo/docs/CHANGES
Expand Up @@ -2,6 +2,7 @@
v3.2.13-git
-----------

[jan] Convert vacation rules in preference backend from Ingo < 2.0.
[jan] Fix some edge cases with Sieve vacation rules with date limits (Bug
#14486).

Expand Down
3 changes: 2 additions & 1 deletion ingo/lib/LoginTasks/SystemTask/Upgrade.php
Expand Up @@ -39,7 +39,8 @@ protected function _upgrade($version)
case '2.0':
/* Upgrade to the new preferences storage format. */
$upgrade_prefs = array(
'rules'
'rules',
'vacation',
);

$GLOBALS['injector']->getInstance('Horde_Core_Prefs_Storage_Upgrade')->upgradeSerialized($GLOBALS['prefs'], $upgrade_prefs);
Expand Down
2 changes: 2 additions & 0 deletions ingo/package.xml
Expand Up @@ -33,6 +33,7 @@
</stability>
<license uri="http://www.horde.org/licenses/apache">ASL</license>
<notes>
* [jan] Convert vacation rules in preference backend from Ingo &lt; 2.0.
* [jan] Fix some edge cases with Sieve vacation rules with date limits (Bug #14486).
</notes>
<contents>
Expand Down Expand Up @@ -1690,6 +1691,7 @@
<date>2016-09-06</date>
<license uri="http://www.horde.org/licenses/apache">ASL</license>
<notes>
* [jan] Convert vacation rules in preference backend from Ingo &lt; 2.0.
* [jan] Fix some edge cases with Sieve vacation rules with date limits (Bug #14486).
</notes>
</release>
Expand Down

0 comments on commit 345740e

Please sign in to comment.