1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-12-06 23:20:54 +03:00
Christian Boltz 4a2b40e100 changed db_update parameters for the most common usecase "WHERE col=value" -
column and value are separate parameters now

functions.inc.php:
- changed function db_update() parameters - column name and value for the WHERE
  condition are now two separate parameters. This means we don't need to
  escape_string(), add quotes etc. for most UPDATE queries.
  Example call: db_update('alias', 'address', $this->username, $values_array)
- the previous db_update() is now called db_update_q()

model/UserHandler.php:
- changed db_update call to the new parameters
- removed now unused variables
- renamed $username to $E_username
- call pacrypt directly when setting the $set array, no need for $new_db_password

model/AliasHandler.php
- changed db_update call to the new parameters

edit-mailbox.php
- switched to db_update_q()


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@931 a1433add-5e2c-0410-b055-b7f2511e0802
2010-12-31 20:13:53 +00:00
2010-09-26 23:14:42 +00:00
2007-10-31 18:24:40 +00:00
2010-09-26 23:14:42 +00:00
2010-10-17 12:17:48 +00:00
2010-10-15 23:59:39 +00:00
2010-11-29 15:49:33 +00:00
2010-11-23 19:11:37 +00:00
2009-04-15 21:54:18 +00:00
2010-12-30 20:32:26 +00:00
2010-09-26 23:14:42 +00:00
2010-09-30 20:43:52 +00:00
2010-09-30 22:11:18 +00:00
2010-09-26 23:14:42 +00:00
2010-12-30 22:40:10 +00:00
2010-09-26 23:14:42 +00:00
2010-12-25 14:50:26 +00:00
2010-09-26 23:14:42 +00:00
2010-09-26 23:14:42 +00:00
2010-09-29 20:41:52 +00:00
2007-03-24 07:27:00 +00:00
2009-04-22 11:31:53 +00:00
2010-09-26 23:14:42 +00:00
2008-04-26 20:54:26 +00:00
2010-09-26 23:14:42 +00:00
2010-10-12 20:45:24 +00:00
2010-09-26 23:14:42 +00:00
2010-09-26 23:14:42 +00:00
2010-09-26 23:14:42 +00:00
2010-12-16 00:30:21 +00:00
2010-09-26 23:14:42 +00:00
2010-12-26 00:20:12 +00:00
Description
PostfixAdmin - веб-интерфейс виртуального администрирования пользователей для почтовых серверов Postfix
18 MiB
Languages
PHP 76.5%
Smarty 11.2%
Perl 7.1%
Shell 3.8%
Python 0.7%
Other 0.7%