From 3bf06411f89775ad37ccb96c74c4ee6e0440e457 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 9 Mar 2009 14:28:13 +0000 Subject: [PATCH] Added msgPool entry for mysql git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13517 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/utils/class_msgPool.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gosa-core/include/utils/class_msgPool.inc b/gosa-core/include/utils/class_msgPool.inc index e8d3900df..fa48370fa 100644 --- a/gosa-core/include/utils/class_msgPool.inc +++ b/gosa-core/include/utils/class_msgPool.inc @@ -446,6 +446,14 @@ class msgPool } + public static function mysqlerror($error, $plugin= "") + { + /* Assign headline depending on type */ + $headline= _("MySQL operation failed!"); + return $headline."

"._("Error").": ".$error; + } + + public static function ldaperror($error, $dn= "", $type= 0, $plugin= "") { /* Assign headline depending on type */ -- 2.30.2