2012-08-09 02:01:06 +04:00
|
|
|
<?php
|
|
|
|
/**
|
2016-07-21 18:07:57 +03:00
|
|
|
* @copyright Copyright (c) 2016, ownCloud, Inc.
|
|
|
|
*
|
2015-03-26 13:44:34 +03:00
|
|
|
* @author Bart Visscher <bartv@thisnet.nl>
|
|
|
|
* @author Felix Moeller <mail@felixmoeller.de>
|
|
|
|
* @author Jakob Sack <mail@jakobsack.de>
|
|
|
|
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
|
|
* @author Morris Jobke <hey@morrisjobke.de>
|
2016-07-21 19:13:36 +03:00
|
|
|
* @author Robin Appelman <robin@icewind.nl>
|
2013-04-24 16:38:41 +04:00
|
|
|
*
|
2015-03-26 13:44:34 +03:00
|
|
|
* @license AGPL-3.0
|
2013-04-24 16:38:41 +04:00
|
|
|
*
|
2015-03-26 13:44:34 +03:00
|
|
|
* This code is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
|
|
* as published by the Free Software Foundation.
|
2013-04-24 16:38:41 +04:00
|
|
|
*
|
2015-03-26 13:44:34 +03:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
2013-04-24 16:38:41 +04:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2015-03-26 13:44:34 +03:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
2013-04-24 16:38:41 +04:00
|
|
|
*
|
2015-03-26 13:44:34 +03:00
|
|
|
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
2013-04-24 16:38:41 +04:00
|
|
|
*
|
|
|
|
*/
|
2015-02-26 13:37:37 +03:00
|
|
|
|
2012-08-09 02:01:06 +04:00
|
|
|
namespace OCP;
|
|
|
|
|
|
|
|
/**
|
2015-04-16 18:00:08 +03:00
|
|
|
* @since 4.5.0
|
2018-01-26 02:14:00 +03:00
|
|
|
* @deprecated 14.0.0
|
2012-08-09 02:01:06 +04:00
|
|
|
*/
|
2012-08-09 21:04:04 +04:00
|
|
|
class BackgroundJob {
|
2012-10-27 12:15:39 +04:00
|
|
|
/**
|
2015-04-16 18:00:08 +03:00
|
|
|
* @since 5.0.0
|
2018-01-26 02:14:00 +03:00
|
|
|
* @deprecated 14.0.0
|
2012-10-27 12:15:39 +04:00
|
|
|
*/
|
|
|
|
public static function getExecutionType() {
|
2018-01-26 02:14:00 +03:00
|
|
|
return '';
|
2012-10-27 12:15:39 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2015-04-16 18:00:08 +03:00
|
|
|
* @since 5.0.0
|
2018-01-26 02:14:00 +03:00
|
|
|
* @deprecated 14.0.0
|
2012-10-27 12:15:39 +04:00
|
|
|
*/
|
2013-04-24 16:38:41 +04:00
|
|
|
public static function setExecutionType($type) {
|
2012-10-27 12:15:39 +04:00
|
|
|
}
|
|
|
|
|
2012-08-09 02:01:06 +04:00
|
|
|
/**
|
2015-04-16 18:00:08 +03:00
|
|
|
* @since 6.0.0
|
2018-01-26 02:14:00 +03:00
|
|
|
* @deprecated 8.1.0 Use \OC::$server->getJobList()->add() instead
|
2012-08-09 02:01:06 +04:00
|
|
|
*/
|
2013-04-24 16:38:41 +04:00
|
|
|
public static function registerJob($job, $argument = null) {
|
2012-08-09 02:01:06 +04:00
|
|
|
}
|
2013-04-24 16:38:41 +04:00
|
|
|
}
|