diff --git a/web/includes/session.php b/web/includes/session.php index 5c4b9afce..1873923c6 100644 --- a/web/includes/session.php +++ b/web/includes/session.php @@ -116,12 +116,10 @@ class Session { return true; } public function _read($id){ - ZM\Logger::Debug("read session" . ($this->db ? true : false)); $sth = $this->db->prepare('SELECT data FROM Sessions WHERE id = :id'); $sth->bindParam(':id', $id, PDO::PARAM_STR, 32); if ( $sth->execute() and ( $row = $sth->fetch(PDO::FETCH_ASSOC) ) ) { - ZM\Logger::Debug("row: " . print_r($row,true)); return $row['data']; } // Return an empty string