equal
deleted
inserted
replaced
259 // If we're going File -> other, remove files |
259 // If we're going File -> other, remove files |
260 if ( $namespace_db === 'File' ) |
260 if ( $namespace_db === 'File' ) |
261 { |
261 { |
262 PageUtils::delete_page_files($page_id); |
262 PageUtils::delete_page_files($page_id); |
263 } |
263 } |
264 |
|
265 // update $paths with the new pathskey |
|
266 $new_pathskey = $paths->nslist[$namespace_new] . $page_id_new; |
|
267 $paths->pages[$new_pathskey] =& $paths->pages[$pathskey]; |
|
268 } |
264 } |
269 |
265 |
270 // Did we change the name of the page? If so, make PageProcessor log it |
266 // Did we change the name of the page? If so, make PageProcessor log it |
271 if ( $dataset_backup['name'] != $dataset['name'] ) |
267 if ( $dataset_backup['name'] != $dataset['name'] ) |
272 { |
268 { |