|
|
@@ -196,7 +196,6 @@ class PageService {
|
|
|
async renamePage(page, newPagePath, user, options, isRecursively = false) {
|
|
|
// v4 compatible process
|
|
|
const isV5Compatible = this.crowi.configManager.getConfig('crowi', 'app:isV5Compatible');
|
|
|
- console.log('よばれた', isV5Compatible);
|
|
|
if (!isV5Compatible) {
|
|
|
return this.renamePageV4(page, newPagePath, user, options, isRecursively);
|
|
|
}
|
|
|
@@ -268,6 +267,8 @@ class PageService {
|
|
|
|
|
|
private async renamePageV4(page, newPagePath, user, options, isRecursively = false) {
|
|
|
|
|
|
+ console.log('かもーん', page, newPagePath, user, options, isRecursively);
|
|
|
+
|
|
|
const Page = this.crowi.model('Page');
|
|
|
const Revision = this.crowi.model('Revision');
|
|
|
const path = page.path;
|