mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-28 03:04:15 +00:00
Switch pubsub over to AwlQuery.
This commit is contained in:
parent
e20b5c22e6
commit
bcebcab0a1
@ -708,7 +708,8 @@ function log_caldav_action( $action_type, $uid, $user_no, $collection_id, $dav_n
|
|||||||
// for now use a flat node tree layout
|
// for now use a flat node tree layout
|
||||||
$t->pubsubLayout = 'flat';
|
$t->pubsubLayout = 'flat';
|
||||||
// get the principal_id for this collection, that's what the client will be looking for
|
// get the principal_id for this collection, that's what the client will be looking for
|
||||||
$qry = new PgQuery ('select principal_id from principal join collection using (user_no) where collection_id=?', $collection_id );
|
$qry = new AwlQuery ('SELECT principal_id FROM principal JOIN collection USING (user_no) WHERE collection_id= :collection_id',
|
||||||
|
array( ':collection_id' => $collection_id ) );
|
||||||
$qry->Exec('pubsub');
|
$qry->Exec('pubsub');
|
||||||
$row = $qry->Fetch();
|
$row = $qry->Fetch();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user