Completed
Push — master ( 8ca3ab...74b7fe )
by Sander
11s
created
controller/internalcontroller.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 	 */
41 41
 	public function remind($credential_id) {
42 42
 		$credential = $this->credentialService->getCredentialById($credential_id, $this->userId);
43
-		if($credential) {
43
+		if ($credential) {
44 44
 			$credential->setExpireTime(time() + (24 * 60 * 60));
45 45
 			$this->credentialService->upd($credential);
46 46
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	public function read($credential_id) {
60 60
 
61 61
 		$credential = $this->credentialService->getCredentialById($credential_id, $this->userId);
62
-		if($credential) {
62
+		if ($credential) {
63 63
 			$credential->setExpireTime(0);
64 64
 			$this->credentialService->upd($credential);
65 65
 
Please login to merge, or discard this patch.