fsf changes, meant to be rebased on upstream
[squirrelmail.git] / plugins / sent_subfolders / setup.php
index a3e7a6d173638ac106108894dc28d22b68661927..13fdc98a33dde87ea4e8c9cb7f7411893b294890 100644 (file)
@@ -5,7 +5,7 @@
  *
  * This is a standard SquirrelMail 1.2 API for plugins.
  *
- * @copyright © 1999-2007 The SquirrelMail Project Team
+ * @copyright 1999-2022 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -24,8 +24,9 @@ function squirrelmail_plugin_init_sent_subfolders() {
         = 'sent_subfolders_check_handleAsSent';
 
     /* The hooks to automatically update sent subfolders. */
-    $squirrelmail_plugin_hooks['left_main_before']['sent_subfolders']
-        = 'sent_subfolders_update_sentfolder';
+// hook isn't in 1.5.x; isn't absolutely necessary to run on the folder list anyway
+//    $squirrelmail_plugin_hooks['left_main_before']['sent_subfolders']
+//        = 'sent_subfolders_update_sentfolder';
     $squirrelmail_plugin_hooks['compose_send']['sent_subfolders']
         = 'sent_subfolders_update_sentfolder';