From: hickert Date: Mon, 9 Mar 2009 14:28:13 +0000 (+0000) Subject: Added msgPool entry for mysql X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3bf06411f89775ad37ccb96c74c4ee6e0440e457;p=gosa.git Added msgPool entry for mysql git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13517 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 */