From 20f2ae4a3b5ac4b8395fb42e43950432c6f1f32b Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 19 Jul 2007 12:36:21 +0000 Subject: [PATCH] This comparison is always the same. No change needed. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6921 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/generic/class_user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 08556847f..c74d1dfd8 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -1100,7 +1100,7 @@ class user extends plugin /* Indicate whether a password change is needed or not */ function password_change_needed() { - return (!preg_match("/".$this->pw_storage."/i", $this->last_pw_storage)); + return ($this->pw_storage != $this->last_pw_storage); } -- 2.30.2