Permalink
Browse files

SCOPE_CONNECTION -> scope->connection

  • Loading branch information...
1 parent c3b02c9 commit 82e2de3750445b346b0732b41b6797d7ee55e146 @Artazor Artazor committed May 7, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 sql/data_set/data_set.class.php
  2. +1 −1 sql/result_set/iterator/iterator.class.php
@@ -32,7 +32,7 @@ public function getKeyNames() { }
public function __construct($meta) {
$meta = array_merge(self::$defaults, $meta);
- $this->connection = $this->SCOPE_CONNECTION;
+ $this->connection = $this->scope->connection;
}
}
@@ -17,7 +17,7 @@ public function __construct($sql, $key, $wrapper) {
}
public function __complete() {
- $this->connection = $this->scope->SCOPE_CONNECTION;
+ $this->connection = $this->scope->connection;
}
public function current() {

0 comments on commit 82e2de3

Please sign in to comment.