Skip to content

Commit 78bb38a

Browse files
author
indieteq
committed
removed unnecessary comment
1 parent 57e59f6 commit 78bb38a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Db.class.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,8 @@ public function column($query,$params = null)
225225
public function row($query,$params = null,$fetchmode = PDO::FETCH_ASSOC)
226226
{
227227
$this->Init($query,$params);
228-
// return $this->sQuery->fetch($fetchmode);
229228
$result = $this->sQuery->fetch($fetchmode);
230-
$this->sQuery->closeCursor(); //frees up the connection to the server so that other SQL statements may be issued,
229+
$this->sQuery->closeCursor(); // Frees up the connection to the server so that other SQL statements may be issued,
231230
return $result;
232231
}
233232
/**
@@ -240,9 +239,8 @@ public function row($query,$params = null,$fetchmode = PDO::FETCH_ASSOC)
240239
public function single($query,$params = null)
241240
{
242241
$this->Init($query,$params);
243-
// return $this->sQuery->fetchColumn();
244242
$result = $this->sQuery->fetchColumn();
245-
$this->sQuery->closeCursor(); //frees up the connection to the server so that other SQL statements may be issued
243+
$this->sQuery->closeCursor(); // Frees up the connection to the server so that other SQL statements may be issued
246244
return $result;
247245
}
248246
/**

0 commit comments

Comments
 (0)