From d80a09c9e5f1cdb1bc58a7e5ad9e420f6d1e54c1 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 16 Apr 2017 13:37:42 +0000 Subject: [PATCH] Doxygen header added --- include/dbstructure.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/dbstructure.php b/include/dbstructure.php index aea0fdfeda..a0023c7710 100644 --- a/include/dbstructure.php +++ b/include/dbstructure.php @@ -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) { echo sprintf(t("\nError %d occured during database update:\n%s\n"), $db->errorno, $db->error);