Remove global
This commit is contained in:
parent
8729603943
commit
80c2345764
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue