cvs commit: imp maintenance.php imp/lib Maintenance.php

Jon Parise jon@horde.org
Tue, 9 Oct 2001 05:13:46 -0700 (PDT)


jon         2001/10/09 05:13:46 PDT

  Modified files:
    .                    maintenance.php 
    lib                  Maintenance.php 
  Log:
  From Micheal's message to dev:
  
  "Currently, if the ONLY task(s) that need to be performed during a
  particular login are locked by the admin, the maintenance confirmation
  screen is shown with NO options (i.e. it has the warning header and the
  confirmation buttons, but there is no description of what IMP is about to
  do - this could potentially be confusing to users).  The confirmation
  page will still be shown if there is at least 1 task that is user changable.
  
  This patch does not show the confirmation screen if this is the case and
  instead just directly does the requested tasks immediately after logging
  in. This more correctly fits the 'expected' behavior of and admin locked
  preference."
  
  Submitted by: Michael M Slusarz <slusarz@bigworm.colorado.edu>
  
  Revision  Changes    Path
  1.10      +40 -8     imp/lib/Maintenance.php
  2.2       +5 -9      imp/maintenance.php