projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Legacy code was probably wrong
[squirrelmail.git]
/
functions
/
tree.php
diff --git
a/functions/tree.php
b/functions/tree.php
index 9df95a5e78c122f0fe95a86419f930525a372080..10f8752db4b3cacef48414cf823a9e553c85ba68 100644
(file)
--- a/
functions/tree.php
+++ b/
functions/tree.php
@@
-6,16
+6,12
@@
* This file provides functions to walk trees of folders, for
* instance to delete a whole tree.
*
* 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-2017
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
*/
* @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');
/**
require_once(SM_PATH . 'functions/imap.php');
/**
@@
-199,5
+195,3
@@
function simpleWalkTreePre($index, $tree) {
echo $tree[$index]['value'] . '<br />';
}
}
echo $tree[$index]['value'] . '<br />';
}
}
-
-?>
\ No newline at end of file