From 75349a34b54d6f7aa338c268fac7852aafb0f634 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 13 May 2014 13:33:56 +0000 Subject: [PATCH] Mark function "force_password" as deprecated --- src/mibew/libs/operator.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mibew/libs/operator.php b/src/mibew/libs/operator.php index 0af2ce54..fc21b083 100644 --- a/src/mibew/libs/operator.php +++ b/src/mibew/libs/operator.php @@ -580,7 +580,12 @@ function check_login($redirect = true) return $_SESSION[SESSION_PREFIX . "operator"]; } -// Force the admin to set a password after the installation +/** + * Force the admin to set a password after the installation + * + * @param array $operator Operator's array + * @deprecated + */ function force_password($operator) { if (check_password_hash($operator['vclogin'], $operator['vcpassword'], '')) {