Browse Source
Merge pull request #52840 from nextcloud/fix/remove-broken-versions-routes
fix(files_versions): Remove routes leading to deleted ajax files
pull/52847/head
Côme Chilliet
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
0 additions and
15 deletions
-
apps/files_versions/appinfo/routes.php
-
build/psalm-baseline.xml
|
|
|
@ -6,16 +6,6 @@ |
|
|
|
*/ |
|
|
|
namespace OCA\Files_Versions\AppInfo; |
|
|
|
|
|
|
|
use OCP\Route\IRouter; |
|
|
|
|
|
|
|
/** @var IRouter $this */ |
|
|
|
$this->create('files_versions_download', 'apps/files_versions/download.php') |
|
|
|
->actionInclude('files_versions/download.php'); |
|
|
|
$this->create('files_versions_ajax_getVersions', 'apps/files_versions/ajax/getVersions.php') |
|
|
|
->actionInclude('files_versions/ajax/getVersions.php'); |
|
|
|
$this->create('files_versions_ajax_rollbackVersion', 'apps/files_versions/ajax/rollbackVersion.php') |
|
|
|
->actionInclude('files_versions/ajax/rollbackVersion.php'); |
|
|
|
|
|
|
|
return [ |
|
|
|
'routes' => [ |
|
|
|
[ |
|
|
|
|
|
|
|
@ -966,11 +966,6 @@ |
|
|
|
<code><![CDATA[$timestamp]]></code> |
|
|
|
</InvalidArgument> |
|
|
|
</file> |
|
|
|
<file src="apps/files_versions/appinfo/routes.php"> |
|
|
|
<InvalidScope> |
|
|
|
<code><![CDATA[$this->create('files_versions_download', 'apps/files_versions/download.php')]]></code> |
|
|
|
</InvalidScope> |
|
|
|
</file> |
|
|
|
<file src="apps/files_versions/lib/Sabre/RestoreFolder.php"> |
|
|
|
<InvalidNullableReturnType> |
|
|
|
<code><![CDATA[getChild]]></code> |
|
|
|
|