File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ Users won't be able to find this Circle using Nextcloud search engine.
4747 </dependencies >
4848
4949 <background-jobs >
50+ <job >OCA\Circles\Cron\Maintenance</job >
5051 <job >OCA\Circles\Cron\ContactsExistingShares</job >
5152 <job >OCA\Circles\Cron\GlobalSync</job >
5253 </background-jobs >
Original file line number Diff line number Diff line change @@ -102,7 +102,10 @@ public function getSharesForCircle(string $circleId) {
102102 public function getShares (): array {
103103 $ qb = $ this ->getSharesSelectSql ();
104104
105+ $ expr = $ qb ->expr ();
106+
105107 $ this ->limitToShareType ($ qb , self ::SHARE_TYPE );
108+ $ qb ->andWhere ($ expr ->isNull ($ this ->default_select_alias . '.parent ' ));
106109
107110 $ shares = [];
108111 $ cursor = $ qb ->execute ();
You can’t perform that action at this time.
0 commit comments