mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +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
|
||||
* $this->Query() before returning.
|
||||
*/
|
||||
function __construct( $db ) {
|
||||
$this->pdb = $db;
|
||||
function __construct( ) {
|
||||
$args = func_get_args();
|
||||
$this->pdb = array_shift( $args );
|
||||
if ( isset($db->default_max_duration) ) {
|
||||
$this->max_duration = $db->default_max_duration;
|
||||
}
|
||||
$this->Query($args);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user