[cvs] [Wiki] changed: ImpAutomaticDefaultFolderCreation
Wiki Guest
wikiguest at horde.org
Tue Jun 10 17:09:07 UTC 2008
guest [201.212.113.26] Tue, 10 Jun 2008 13:09:07 -0400
Modified page: http://wiki.horde.org/ImpAutomaticDefaultFolderCreation
New Revision: 1.3
Change log: Warn about 4.2.x version
@@ -1,5 +1,5 @@
-After scouring Google for several days looking for a solution to this
common question, and after subtle prodding on the Imp mailing list, I
decided to roll my own method of making IMP create the default sent, trash,
drafts, and spam folders as defined in "horde/imp/config/prefs.php" the
first time a user logs in. This code was written for IMP 4.1.x.
+After scouring Google for several days looking for a solution to this
common question, and after subtle prodding on the Imp mailing list, I
decided to roll my own method of making IMP create the default sent, trash,
drafts, and spam folders as defined in "horde/imp/config/prefs.php" the
first time a user logs in. This code was written for IMP 4.1.x. ##red|This
code does not work with IMP 4.2.x.##
What we need to do is create a Maintenance Task in IMP similar to the
default "tos_agreement" task. The first thing we need to do is create a
maintenance task. This is done by creating a PHP script called
"horde/imp/lib/Maintenance/Tasks/create_default_folders.php" which contains
the following class:
<code type="php">
More information about the cvs
mailing list