mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-26 02:44:29 +00:00
Under development.
This commit is contained in:
parent
8c8a5e2f6e
commit
2f6b7db543
@ -403,11 +403,13 @@ class PdoQuery {
|
|||||||
* will be in turn, the sql, and any positional parameters to replace into that, and will be passed to
|
* will be in turn, the sql, and any positional parameters to replace into that, and will be passed to
|
||||||
* $this->Query() before returning.
|
* $this->Query() before returning.
|
||||||
*/
|
*/
|
||||||
function __construct( $db ) {
|
function __construct( ) {
|
||||||
$this->pdb = $db;
|
$args = func_get_args();
|
||||||
|
$this->pdb = array_shift( $args );
|
||||||
if ( isset($db->default_max_duration) ) {
|
if ( isset($db->default_max_duration) ) {
|
||||||
$this->max_duration = $db->default_max_duration;
|
$this->max_duration = $db->default_max_duration;
|
||||||
}
|
}
|
||||||
|
$this->Query($args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user