summaryrefslogtreecommitdiffstats
path: root/lib/public/backgroundjob
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-30 11:52:30 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-30 11:52:30 +0200
commitfbba7a61cb00229128c722cef8d0248b04d00299 (patch)
tree7d22505e87d933478e1ce48bf41c672fa728535f /lib/public/backgroundjob
parentae853445ef258b960174171bd9624986de33e24d (diff)
downloadnextcloud-server-fbba7a61cb00229128c722cef8d0248b04d00299.tar.gz
nextcloud-server-fbba7a61cb00229128c722cef8d0248b04d00299.zip
Use internally \OCP\ILogger instead of \OC\Log
* this is the preparation for some upcoming logger related changes * also fixes an issue in the public interface where we request an internal class as parameter
Diffstat (limited to 'lib/public/backgroundjob')
-rw-r--r--lib/public/backgroundjob/ijob.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/backgroundjob/ijob.php b/lib/public/backgroundjob/ijob.php
index 3a1be86ef4e..a24a5434521 100644
--- a/lib/public/backgroundjob/ijob.php
+++ b/lib/public/backgroundjob/ijob.php
@@ -22,6 +22,7 @@
*/
namespace OCP\BackgroundJob;
+use OCP\ILogger;
/**
* Interface IJob
@@ -34,11 +35,11 @@ interface IJob {
* Run the background job with the registered argument
*
* @param \OCP\BackgroundJob\IJobList $jobList The job list that manages the state of this job
- * @param \OC\Log $logger
+ * @param ILogger $logger
* @return void
* @since 7.0.0
*/
- public function execute($jobList, $logger = null);
+ public function execute($jobList, ILogger $logger = null);
/**
* Get the id of the background job