Protect message deletion with security token system. (Secunia Advisory SA34627)
[squirrelmail.git] / functions / tree.php
index 14c32383abf02538ce634a8dd3cdcfbded1d1c2a..c36b61900a29569913bb446928d9d059fc1a909c 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-2009 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