Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ocs
diff options
context:
space:
mode:
Diffstat (limited to 'ocs')
-rw-r--r--ocs/v1.php4
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