fsf changes, meant to be rebased on upstream
[squirrelmail.git] / functions / tree.php
index 14c32383abf02538ce634a8dd3cdcfbded1d1c2a..a42d9e08e5465a7e11cb8446e981e8a95001cd6f 100644 (file)
@@ -6,12 +6,13 @@
  * This file provides functions to walk trees of folders, for
  * instance to delete a whole tree.
  *
- * @copyright © 1999-2006 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 squirrelmail
  */
 
+require_once(SM_PATH . 'functions/imap.php');
 
 /**
  * Recursive function to find the correct parent for a new node.
@@ -194,5 +195,3 @@ function simpleWalkTreePre($index, $tree) {
         echo $tree[$index]['value'] . '<br />';
     }
 }
-
-?>
\ No newline at end of file