Moving function to its rightful place
[squirrelmail.git] / functions / tree.php
index 9df95a5e78c122f0fe95a86419f930525a372080..d00107e7201a545a130a0c33e3664cfbf1e5e9f4 100644 (file)
@@ -6,16 +6,12 @@
  * 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-2007 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
 
-/** @ignore */
-if (! defined('SM_PATH')) define('SM_PATH','../');
-
-/** Clearly, this needs the IMAP functions.. */
 require_once(SM_PATH . 'functions/imap.php');
 
 /**
@@ -199,5 +195,3 @@ function simpleWalkTreePre($index, $tree) {
         echo $tree[$index]['value'] . '<br />';
     }
 }
-
-?>
\ No newline at end of file