0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

more phpdoc

This commit is contained in:
David Goodwin 2019-01-16 09:23:09 +00:00
parent 26d769740c
commit 83a4ee39b0
2 changed files with 12 additions and 1 deletions

View File

@ -9,6 +9,7 @@
<directory name="." />
<ignoreFiles>
<directory name="vendor" />
<directory name="tests" />
<directory name="templates_c" />
<directory name="lib/smarty" />
<directory name="ADDITIONS/" />

View File

@ -337,7 +337,11 @@ function db_query_parsed($sql, $ignore_errors = 0, $attach_mysql = "") {
echo_out("<div style='color:#f00'>" . $result['error'] . "</div>");
}
}
/**
* @param string $table
* @param string $index
* @return string
*/
function _drop_index($table, $index) {
global $CONF;
$table = table_by_key($table);
@ -352,6 +356,12 @@ function _drop_index($table, $index) {
}
}
/**
* @return string
* @param string $table
* @param string $indexname
* @param string $fieldlist
*/
function _add_index($table, $indexname, $fieldlist) {
global $CONF;
$table = table_by_key($table);