Happy New Year
[squirrelmail.git] / src / delete_message.php
index 2d6420b2fa57e54c1a985acf52b41681d06acda4..c158f546f4afcdc82719c06c477220b454b23978 100644 (file)
@@ -3,27 +3,19 @@
 /**
  * delete_message.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * Deletes a meesage from the IMAP server
  *
+ * @copyright 1999-2019 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
 
+define('PAGE_NAME', 'delete_message');
+
 /**
- * Path for SquirrelMail required files.
- * @ignore
+ * Include the SquirrelMail initialization file.
  */
-define('SM_PATH','../');
-
-/* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
-include_once(SM_PATH . 'functions/display_messages.php');
-
-global $color;
-error_box('delete_message.php script is obsolete since 1.5.1.',$color);
-
-?>
-</body></html>
\ No newline at end of file
+include('../include/init.php');
+error_box('delete_message.php script is obsolete since 1.5.1.');
+$oTemplate->display('footer.tpl');