diff options
Diffstat (limited to 'ocs/v1.php')
-rw-r--r-- | ocs/v1.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ocs/v1.php b/ocs/v1.php index b6ed5697a69..fb996d0564d 100644 --- a/ocs/v1.php +++ b/ocs/v1.php @@ -56,6 +56,10 @@ try { OC_App::loadApps(); OC::$server->getRouter()->match('/ocs'.\OC::$server->getRequest()->getRawPathInfo()); + + sleep(1); + OC::$server->getLogger()->info('This uses an old OCP\API::register construct. This will be removed in a future version of Nextcloud. Please migrate to the OCSController'); + return; } catch (ResourceNotFoundException $e) { // Fall through the not found |