noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 05/16: Remove global


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 05/16: Remove global
Date: Tue, 18 Nov 2014 01:09:02 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 80c234576445b8f7a3c2da161f5b296da700c745
Author: Dany De Bontridder <address@hidden>
Date:   Tue Nov 18 01:26:34 2014 +0100

    Remove global
---
 include/class_profile_sql.php |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/include/class_profile_sql.php b/include/class_profile_sql.php
index 50a57e7..2788d0c 100644
--- a/include/class_profile_sql.php
+++ b/include/class_profile_sql.php
@@ -61,9 +61,8 @@ class Profile_sql extends Noalyss_SQL
                $this->default = array(
                        "p_id" => "auto",
                );
-               global $cn;
 
-               parent::__construct($cn,$p_id);
+               parent::__construct($p_cn,$p_id);
 
        }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]