]> source.dussan.org Git - nextcloud-server.git/commitdiff
Cleanup usages 1952/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Sat, 29 Oct 2016 12:29:50 +0000 (14:29 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sat, 29 Oct 2016 12:29:50 +0000 (14:29 +0200)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/App/CodeChecker/DeprecationCheck.php
lib/private/AppFramework/Core/API.php

index 60e7fdf078deb5b0cd7bde32a3d867ab9cfbaf64..a700345238bbebef35d17d6a503e25d5c5b60aff 100644 (file)
@@ -114,13 +114,6 @@ class DeprecationCheck extends AbstractCheck implements ICheck {
                        'OCP\AppFramework\IAppContainer::isAdminUser' => '8.0.0',
                        'OCP\AppFramework\IAppContainer::log' => '8.0.0',
 
-                       'OCP\BackgroundJob::addQueuedTask' => '6.0.0',
-                       'OCP\BackgroundJob::addRegularTask' => '6.0.0',
-                       'OCP\BackgroundJob::allQueuedTasks' => '6.0.0',
-                       'OCP\BackgroundJob::allRegularTasks' => '6.0.0',
-                       'OCP\BackgroundJob::deleteQueuedTask' => '6.0.0',
-                       'OCP\BackgroundJob::findQueuedTask' => '6.0.0',
-                       'OCP\BackgroundJob::queuedTaskWhereAppIs' => '6.0.0',
                        'OCP\BackgroundJob::registerJob' => '8.1.0',
 
                        'OCP\Files::tmpFile' => '8.1.0',
index 85cdc00a63a0027394b78bc312b26faae3f4d773..683962d67dcb35edf7c1217ede46cc3026f51ea7 100644 (file)
@@ -170,19 +170,6 @@ class API implements IApi{
                }
        }
 
-
-       /**
-        * Register a backgroundjob task
-        * @param string $className full namespace and class name of the class
-        * @param string $methodName the name of the static method that should be
-        * called
-        * @deprecated Use \OC::$server->getJobList()->add();
-        */
-       public function addRegularTask($className, $methodName) {
-               \OCP\Backgroundjob::addRegularTask($className, $methodName);
-       }
-
-
        /**
         * Tells ownCloud to include a template in the admin overview
         * @param string $mainPath the path to the main php file without the php