|
@@ -1036,13 +1036,13 @@ class PageService {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// update descendantCount of all public pages
|
|
// update descendantCount of all public pages
|
|
|
- try {
|
|
|
|
|
- await this.updateSelfAndDescendantCount('/');
|
|
|
|
|
- logger.info('Successfully updated all descendantCountd of public pages.');
|
|
|
|
|
- }
|
|
|
|
|
- catch (err) {
|
|
|
|
|
- logger.error('updating descendantCount on public pages failed.', err);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // try {
|
|
|
|
|
+ // await this.updateSelfAndDescendantCount('/');
|
|
|
|
|
+ // logger.info('Successfully updated all descendantCountd of public pages.');
|
|
|
|
|
+ // }
|
|
|
|
|
+ // catch (err) {
|
|
|
|
|
+ // logger.error('updating descendantCount on public pages failed.', err);
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
await this._setIsV5CompatibleTrue();
|
|
await this._setIsV5CompatibleTrue();
|
|
|
}
|
|
}
|