Module: nagvis Branch: master Commit: 906660b6476500e63e452bfd91090552361271d0 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=906660b6476500e63e452bfd91090552361271d0
Author: LaMi <[email protected]> Date: Sun Nov 15 18:07:16 2009 +0100 Fixed coding problems and old class names --- .../server/core/classes/GlobalBackendmerlinmy.php | 2 +- .../core/classes/GlobalBackendmklivestatus.php | 4 ++-- share/server/core/classes/GlobalBackendndomy.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/share/server/core/classes/GlobalBackendmerlinmy.php b/share/server/core/classes/GlobalBackendmerlinmy.php index 1ea7342..16115c0 100644 --- a/share/server/core/classes/GlobalBackendmerlinmy.php +++ b/share/server/core/classes/GlobalBackendmerlinmy.php @@ -160,7 +160,7 @@ class GlobalBackendmerlinmy implements GlobalBackendInterface { private function checkMysqlSupport() { // Check availability of PHP MySQL if (!extension_loaded('mysql')) { - new GlobalFrontendMessage('ERROR', $this->CORE->LANG->getText('mysqlNotSupported', Array('BACKENDID' => $this->backendId))); + new GlobalMessage('ERROR', $this->CORE->getLang()->getText('mysqlNotSupported', Array('BACKENDID' => $this->backendId))); return FALSE; } else { return TRUE; diff --git a/share/server/core/classes/GlobalBackendmklivestatus.php b/share/server/core/classes/GlobalBackendmklivestatus.php index 6d4e28e..4d867a7 100644 --- a/share/server/core/classes/GlobalBackendmklivestatus.php +++ b/share/server/core/classes/GlobalBackendmklivestatus.php @@ -69,7 +69,7 @@ class GlobalBackendmklivestatus implements GlobalBackendInterface { } if(!function_exists('socket_create')) { - new GlobalFrontendMessage('ERROR', GlobalCore::getInstance()->getLang()->getText('The PHP function socket_create is not available. Maybe the sockets module is missing in your PHP installation. Needed by backend [BACKENDID].', Array('BACKENDID' => $this->backendId, 'SOCKET' => $this->socketPath))); + new GlobalMessage('ERROR', GlobalCore::getInstance()->getLang()->getText('The PHP function socket_create is not available. Maybe the sockets module is missing in your PHP installation. Needed by backend [BACKENDID].', Array('BACKENDID' => $this->backendId, 'SOCKET' => $this->socketPath))); } @@ -100,7 +100,7 @@ class GlobalBackendmklivestatus implements GlobalBackendInterface { $this->socketAddress = $address; $this->socketPort = $port; } else { - new GlobalFrontendMessage('ERROR', GlobalCore::getInstance()->getLang()->getText('Unknown socket type given in backend [BACKENDID]', Array('BACKENDID' => $this->backendId))); + new GlobalMessage('ERROR', GlobalCore::getInstance()->getLang()->getText('Unknown socket type given in backend [BACKENDID]', Array('BACKENDID' => $this->backendId))); } } diff --git a/share/server/core/classes/GlobalBackendndomy.php b/share/server/core/classes/GlobalBackendndomy.php index a3b2abd..f299933 100644 --- a/share/server/core/classes/GlobalBackendndomy.php +++ b/share/server/core/classes/GlobalBackendndomy.php @@ -213,7 +213,7 @@ class GlobalBackendndomy implements GlobalBackendInterface { private function checkMysqlSupport() { // Check availability of PHP MySQL if (!extension_loaded('mysql')) { - new GlobalFrontendMessage('ERROR', $this->CORE->LANG->getText('mysqlNotSupported', Array('BACKENDID' => $this->backendId))); + new GlobalMessage('ERROR', $this->CORE->getLang()->getText('mysqlNotSupported', Array('BACKENDID' => $this->backendId))); return FALSE; } else { return TRUE; ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
