Doxygen header added
This commit is contained in:
parent
3e6f501bc0
commit
d80a09c9e5
|
@ -158,6 +158,14 @@ function print_structure($database) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Print out database error messages
|
||||||
|
*
|
||||||
|
* @param object $db Database object
|
||||||
|
* @param string $message Message to be added to the error message
|
||||||
|
*
|
||||||
|
* @return string Error message
|
||||||
|
*/
|
||||||
function print_update_error($db, $message) {
|
function print_update_error($db, $message) {
|
||||||
echo sprintf(t("\nError %d occured during database update:\n%s\n"),
|
echo sprintf(t("\nError %d occured during database update:\n%s\n"),
|
||||||
$db->errorno, $db->error);
|
$db->errorno, $db->error);
|
||||||
|
|
Loading…
Reference in a new issue