summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ffbc310)
raw | patch | inline | side by side (parent: ffbc310)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 18 Nov 2005 05:58:21 +0000 (05:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 18 Nov 2005 05:58:21 +0000 (05:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1964 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/conference/class_phoneConferenceGeneric.inc | patch | blob | history |
diff --git a/plugins/gofon/conference/class_phoneConferenceGeneric.inc b/plugins/gofon/conference/class_phoneConferenceGeneric.inc
index 17a191c06b1f5deb38fd7928153a8f37fd543d60..555f5e3f932f5b492ca3324ace6983edf0b45040 100644 (file)
var $goFonConferenceOwner = "";
+ var $error_shown = false;
+
var $goFonConferenceOptionFormat = "";
var $goFonConferenceOptionLifetime = "";
var $telephoneNumber = "";
$a_SETUP = $_SESSION['config']->data['SERVERS']['FON'];
// Connect to DB server
+ $r_con = false;
+
+ if(!is_callable("mysql_pconnect")){
+ if(!$this->error_shown){
+ print_red(_("Can't save any changes to asterisk database, there is currently no mysql extension available in your php setup."));
+ $this->error_shown = true;
+ }
+ return(true);
+ }
$r_con = @mysql_pconnect($a_SETUP['SERVER'],$a_SETUP['LOGIN'],$a_SETUP['PASSWORD']);
// Check if we are connected correctly
}
function SQL_remove_me($save){
+ if(!is_callable("mysql_pconnect")){
+ if(!$this->error_shown){
+ print_red(_("Can't save any changes to asterisk database, there is currently no mysql extension available in your php setup."));
+ $this->error_shown = true;
+ }
+ return(true);
+ }
if($this->old_tele_number){
// Get Configuration for Mysql database Server