summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b2362f5)
raw | patch | inline | side by side (parent: b2362f5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 18 Nov 2005 06:15:58 +0000 (06:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 18 Nov 2005 06:15:58 +0000 (06:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1967 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/macro/class_gofonMacro.inc | patch | blob | history |
index fc25fac0ab85bfe376093119a422e977972bd794..051675f87883447dcd2be0abe14234dacfa0a318 100755 (executable)
/*! The name of the Macro in the openldap drirectory */
var $cn = "";
-
+
+ /*! Display error once */
+ var $error_shown = false;
+
/*! This ist the variable that contains the description of the macro*/
var $description = "";
return(true);
}
+ if(!is_callable("mysql_connect")){
+ if((!$this->error_shown)&&($save)){
+ print_red(_("There is no mysql extension available in your php setup, can't save any changes to asterisk db."));
+ $this->error_shown = true;
+ }
+ return(true);
+ }
+
// Get Configuration for Mysql database Server
$a_SETUP = $_SESSION['config']->data['SERVERS']['FON'];