Completed
Pull Request — master (#602)
by Sean
05:04 queued 01:53
created
code/model/jobs/DNDataTransfer.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 	}
113 113
 
114 114
 	public function getTitle() {
115
-		return $this->dbObject('Created')->Nice() . " (Status: {$this->Status})";
115
+		return $this->dbObject('Created')->Nice()." (Status: {$this->Status})";
116 116
 	}
117 117
 
118 118
 	public function Link() {
@@ -233,14 +233,14 @@  discard block
 block discarded – undo
233 233
 		$envName = $this->Environment()->getFullName();
234 234
 		if($this->Direction == 'get') {
235 235
 			if($this->Origin == 'ManualUpload') {
236
-				$description = 'Manual upload of ' . $this->getModeNice() . ' to ' . $envName;
236
+				$description = 'Manual upload of '.$this->getModeNice().' to '.$envName;
237 237
 			} elseif($this->IsBackupDataTransfer()) {
238
-				$description = 'Automated backup of ' . $this->getModeNice() . ' from ' . $envName;
238
+				$description = 'Automated backup of '.$this->getModeNice().' from '.$envName;
239 239
 			} else {
240
-				$description = 'Backup of ' . $this->getModeNice() . ' to ' . $envName;
240
+				$description = 'Backup of '.$this->getModeNice().' to '.$envName;
241 241
 			}
242 242
 		} else {
243
-			$description = 'Restore ' . $this->getModeNice() . ' to ' . $envName;
243
+			$description = 'Restore '.$this->getModeNice().' to '.$envName;
244 244
 		}
245 245
 
246 246
 		return $description;
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
 			$this->ID
265 265
 		))->value();
266 266
 
267
-		if ($transferBackup) {
267
+		if($transferBackup) {
268 268
 			return true;
269 269
 		}
270 270
 
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
 			$this->ID
274 274
 		))->value();
275 275
 
276
-		if ($deploymentBackup) {
276
+		if($deploymentBackup) {
277 277
 			return true;
278 278
 		}
279 279
 
Please login to merge, or discard this patch.