Happy New Year
[squirrelmail.git] / plugins / change_password / backend / poppassd.php
index 1112ccc7c0341c2979771d81815bd9521e517b32..69d64840f9e134fd053f9e80539bc8d79ff37c16 100644 (file)
@@ -3,7 +3,9 @@
 /**
  * Poppassd change password backend
  *
- * @author Seth Randall <sethr@missoulafcu.org>
+ * @author Seth Randall <sethr at missoulafcu.org>
+ * @copyright 2004-2018 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage change_password
@@ -84,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');
 
@@ -135,5 +135,3 @@ function cpw_poppassd_go($username, $old_pw, $new_pw, $debug = 0) {
 
     return $messages;
 }
-
-?>
\ No newline at end of file