Fix hook name clash: new smtp_auth hook added recently (a few months ago) has been...
[squirrelmail.git] / functions / tree.php
index 9df95a5e78c122f0fe95a86419f930525a372080..9d38e562746af94715bfb324f2d58adbd9a5e548 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-2011 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