Package: squirrelmail
Version: 2:1.4.4-1
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I would like it if Squirrelmail would support the $auto_expunge 
configuration variable as a per-user setting, rather than a site-wide 
setting.

Attached is a patch that *I believe* will do this, but I have not tested
it, as the only available squirrelmail installation I have access to is
a live multi-user server.  This patch loads auto_expunge from the user's
preferences, defaulting to the system value.  This patch does NOT change
the user-interface in any way, so the only way to set this value on a 
per-user basis is to manually edit the user's preferences.

Thank you.

- -- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages squirrelmail depends on:
ii  apache [httpd]                1.3.33-3   versatile, high-performance HTTP s
ii  apache-ssl [httpd]            1.3.33-3   versatile, high-performance HTTP s
ii  apache2-mpm-prefork [httpd]   2.0.52-3   Traditional model for Apache2
ii  libapache2-mod-php4           4:4.3.10-2 server-side, HTML-embedded scripti
ii  perl                          5.8.4-6    Larry Wall's Practical Extraction 
ii  php4                          4:4.3.10-2 server-side, HTML-embedded scripti
ii  php4-cgi                      4:4.3.10-2 server-side, HTML-embedded scripti

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCG+HV0HulGszUTxERAv4ZAJ9QufUUG/Y+Gl3qKbgRFvVJ0/yjJgCdEeJA
95Q7pVNIHspRjrLYz1napI0=
=bbWN
-----END PGP SIGNATURE-----
--- include/load_prefs.php.orig 2005-02-22 19:29:11.000000000 -0600
+++ include/load_prefs.php      2005-02-22 19:30:31.000000000 -0600
@@ -276,6 +276,9 @@
    on time distance from date of message */
 $show_full_date = getPref($data_dir, $username, 'show_full_date', 0);
 
+// Load user's expunge preferences
+$auto_expunge = getPref($data_dir, $username, 'auto_expunge', $auto_expunge);
+
 do_hook('loading_prefs');
 
 ?>

Reply via email to