mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 16:44:11 +03:00
Remove jabber operator field
This commit is contained in:
parent
a34cb53e91
commit
31c4afe751
@ -190,7 +190,6 @@ operator:
|
||||
istatus: "int DEFAULT 0"
|
||||
idisabled: "int DEFAULT 0"
|
||||
vcavatar: "varchar(255)"
|
||||
vcjabbername: "varchar(255)"
|
||||
# Operators privileges bitmask.
|
||||
iperm: "int DEFAULT 0"
|
||||
dtmrestore: "int NOT NULL DEFAULT 0"
|
||||
|
@ -328,7 +328,6 @@ function update_operator(
|
||||
':localname' => $locale_name,
|
||||
':commonname' => $common_name,
|
||||
':email' => $email,
|
||||
':jabbername' => '',
|
||||
':operatorid' => $operator_id,
|
||||
':code' => $code,
|
||||
);
|
||||
@ -339,7 +338,7 @@ function update_operator(
|
||||
("UPDATE {operator} SET vclogin = :login, "
|
||||
. ($password ? " vcpassword=:password, " : "")
|
||||
. "vclocalename = :localname, vccommonname = :commonname, "
|
||||
. "vcemail = :email, code = :code, vcjabbername= :jabbername "
|
||||
. "vcemail = :email, code = :code "
|
||||
. "WHERE operatorid = :operatorid"),
|
||||
$values
|
||||
);
|
||||
@ -382,10 +381,10 @@ function create_operator(
|
||||
$db->query(
|
||||
("INSERT INTO {operator} ("
|
||||
. "vclogin, vcpassword, vclocalename, vccommonname, vcavatar, "
|
||||
. "vcemail, code, vcjabbername "
|
||||
. "vcemail, code "
|
||||
. ") VALUES ("
|
||||
. ":login, :pass, :localename, :commonname, :avatar, "
|
||||
. ":email, :code, :jabber"
|
||||
. ":email, :code"
|
||||
. ")"),
|
||||
array(
|
||||
':login' => $login,
|
||||
@ -395,7 +394,6 @@ function create_operator(
|
||||
':avatar' => $avatar,
|
||||
':email' => $email,
|
||||
':code' => $code,
|
||||
':jabber' => '',
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user