diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-05-04 09:13:26 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-05-04 09:13:26 +0200 |
commit | 4de45b5e610a3e09d8945deae2464efbffa478d9 (patch) | |
tree | 50e8fc5a43f0ad3cbc6dc4a033504411334a609a /lib/public | |
parent | 7fa308977b737c195a78e984a79af752c33ca013 (diff) | |
parent | fbba7a61cb00229128c722cef8d0248b04d00299 (diff) | |
download | nextcloud-server-4de45b5e610a3e09d8945deae2464efbffa478d9.tar.gz nextcloud-server-4de45b5e610a3e09d8945deae2464efbffa478d9.zip |
Merge pull request #15958 from owncloud/usage-of-public-log-interface
Use internally \OCP\ILogger instead of \OC\Log
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/backgroundjob/ijob.php | 5 |
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 |