1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-17 20:11:46 +02:00

Bump version to 3.0.130

This commit is contained in:
Ryan Cramer
2019-04-12 21:44:44 -04:00
parent 932ad94dc4
commit 144ce409b1
2 changed files with 15 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ class ProcessWire extends Wire {
* Reversion revision number
*
*/
const versionRevision = 129;
const versionRevision = 130;
/**
* Version suffix string (when applicable)

View File

@@ -216,6 +216,8 @@ class WireDatabasePDO extends Wire implements WireDatabase {
$this->pdoConfig['pass'],
$this->pdoConfig['options']
);
// custom PDO statement for later maybe
// $this->pdo->setAttribute(\PDO::ATTR_STATEMENT_CLASS,array(__NAMESPACE__.'\WireDatabasePDOStatement',array($this)));
}
if(!$this->init) $this->_init();
return $this->pdo;
@@ -894,3 +896,15 @@ class WireDatabasePDO extends Wire implements WireDatabase {
return $result;
}
}
/**
* custom PDOStatement for later maybe
*
class WireDatabasePDOStatement extends \PDOStatement {
protected $database;
protected function __construct(WireDatabasePDO $database) {
$this->database = $database;
// $database->message($this->queryString);
}
}
*/