Module: nagvis
Branch: master
Commit: 8568eaee272fe51a18b6ce110ebb39070f9fb5d0
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=8568eaee272fe51a18b6ce110ebb39070f9fb5d0

Author: LaMi <[email protected]>
Date:   Wed Nov 11 15:35:05 2009 +0100

Removed deprecated dl() calls

---

 share/server/core/classes/GlobalLanguage.php |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/share/server/core/classes/GlobalLanguage.php 
b/share/server/core/classes/GlobalLanguage.php
index feea183..7774142 100644
--- a/share/server/core/classes/GlobalLanguage.php
+++ b/share/server/core/classes/GlobalLanguage.php
@@ -244,13 +244,8 @@ class GlobalLanguage {
         */
        private function checkGettextSupport() {
                if (!extension_loaded('gettext')) {
-                       dl('gettext.so');
-                       if (!extension_loaded('gettext')) {
-                               new GlobalMessage('ERROR', 
$this->getText('phpModuleNotLoaded', Array('MODULE' => 'gettext')));
-                               return FALSE;
-                       } else {
-                               return TRUE;
-                       }
+                       new GlobalMessage('ERROR', 
$this->getText('phpModuleNotLoaded', Array('MODULE' => 'gettext')));
+                       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

Reply via email to