diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-11-03 00:09:19 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-11-03 00:11:28 +0100 |
commit | ffba8297df6663b26260f58fa8a681124e2d839e (patch) | |
tree | 68f0ec5cb8823496b5730549ee8b6f25d69d1036 | |
parent | 39573e602d5e38e4b71b3d197d08798dd9558659 (diff) | |
download | nextcloud-server-ffba8297df6663b26260f58fa8a681124e2d839e.tar.gz nextcloud-server-ffba8297df6663b26260f58fa8a681124e2d839e.zip |
Run code checker on more shipped apps
Adds:
- sharebymail
- systemtags
- theming
- workflowengine
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
-rw-r--r-- | .drone.yml | 3 | ||||
-rw-r--r-- | apps/sharebymail/lib/ShareByMailProvider.php | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml index 35ed0c74593..e632edfa03d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,9 @@ pipeline: - ./occ app:check-code admin_audit - ./occ app:check-code comments - ./occ app:check-code federation + - ./occ app:check-code sharebymail + - ./occ app:check-code systemtags + - ./occ app:check-code theming - ./occ app:check-code workflowengine when: matrix: diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index a332bd13d88..e084ce3288f 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -37,6 +37,7 @@ use OC\Share20\Share; use OCP\Share\Exceptions\ShareNotFound; use OCP\Share\IShare; use OCP\Share\IShareProvider; +use OCP\Template; /** * Class ShareByMail @@ -208,7 +209,7 @@ class ShareByMailProvider implements IShareProvider { */ protected function createMailBody($template, $filename, $link, $owner, $initiator) { - $mailBodyTemplate = new \OC_Template('sharebymail', $template, ''); + $mailBodyTemplate = new Template('sharebymail', $template, ''); $mailBodyTemplate->assign ('filename', $filename); $mailBodyTemplate->assign ('link', $link); $mailBodyTemplate->assign ('owner', $owner); |