Happy New Year
[squirrelmail.git] / plugins / change_password / backend / poppassd.php
index a35b720fbac798b8980f5e1028980c847acb7ea6..c938f8c13443bdbf65ed6696e247a0e81e5d2e59 100644 (file)
@@ -4,7 +4,7 @@
  * Poppassd change password backend
  *
  * @author Seth Randall <sethr at missoulafcu.org>
- * @copyright &copy; 2004-2006 The SquirrelMail Project Team
+ * @copyright 2004-2020 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -86,8 +86,6 @@ function cpw_poppassd_go($username, $old_pw, $new_pw, $debug = 0) {
     global $poppassd_server;
     global $imapServerAddress;
 
-    /** @ignore */
-    if (!defined('SM_PATH')) define('SM_PATH','../../../');
     /** sqimap_get_user_server() function */
     include_once(SM_PATH . 'functions/imap_general.php');
 
@@ -137,5 +135,3 @@ function cpw_poppassd_go($username, $old_pw, $new_pw, $debug = 0) {
 
     return $messages;
 }
-
-?>
\ No newline at end of file