[sork] alias function in vacation module?

John Dalbec jpdalbec at ysu.edu
Thu Mar 13 12:25:23 PST 2003


This functionality is not present in 3/12 RELENG CVS.  Are you waiting 
for testing?  The following patch appears to work for me.  Yes, I diffed 
it in reverse and fixed it "by hand".  The whitespace is probably 
broken.  I can see some wrapped lines.
John Dalbec

--- vacation/main.php      Thu Mar 13 10:59:49 2003
+++ vacation/main.php    Thu Mar 13 12:17:02 2003
@@ -52,8 +52,7 @@
              Horde::raiseMessage(_("You must give a vacation message"),
                     HORDE_WARNING);
          } else {
+            $alias=Horde::getFormData('alias', false);
+            if ($driver->set_vacation($user, $realm, $oldpassword, 
$vacationmsg, $alias)) {
-            if ($driver->set_vacation($user, $realm, $oldpassword, 
$vacationmsg)) {
                  Horde::raiseMessage(_("Vacation notice 
set!"),HORDE_SUCCESS);
              } else {
                  Horde::raiseMessage( _("Failure in modifying vacation 
notice: ")



More information about the sork mailing list