@@ -954,7 +954,7 @@ |
||
| 954 | 954 | to other environments, alongside the "Who can restore" permission.<br> |
| 955 | 955 | Should include all users with upload permissions, otherwise they can't download |
| 956 | 956 | their own uploads. |
| 957 | -PHP |
|
| 957 | +php |
|
| 958 | 958 | ), |
| 959 | 959 | |
| 960 | 960 | // The Main.PipelineApprovers |
@@ -257,7 +257,7 @@ |
||
| 257 | 257 | * @return string |
| 258 | 258 | */ |
| 259 | 259 | public function getTitle() { |
| 260 | - return "Pipeline {$this->ID} (Status: {$this->Status})"; |
|
| 260 | + return "pipeline {$this->ID} (Status: {$this->Status})"; |
|
| 261 | 261 | } |
| 262 | 262 | |
| 263 | 263 | /** |
@@ -282,7 +282,7 @@ |
||
| 282 | 282 | */ |
| 283 | 283 | public function startApproval() { |
| 284 | 284 | $this->Status = 'Started'; |
| 285 | - $this->log("Starting {$this->Title}..."); |
|
| 285 | + $this->log("starting {$this->Title}..."); |
|
| 286 | 286 | // Determine if we should use delayed notification |
| 287 | 287 | $recipientGroup = 'all'; |
| 288 | 288 | if($this->getConfigSetting('RecipientsDelay')) { |
@@ -282,7 +282,7 @@ |
||
| 282 | 282 | */ |
| 283 | 283 | public function startApproval() { |
| 284 | 284 | $this->Status = 'Started'; |
| 285 | - $this->log("Starting {$this->Title}..."); |
|
| 285 | + $this->log("starting {$this->Title}..."); |
|
| 286 | 286 | // Determine if we should use delayed notification |
| 287 | 287 | $recipientGroup = 'all'; |
| 288 | 288 | if($this->getConfigSetting('RecipientsDelay')) { |
@@ -282,7 +282,7 @@ |
||
| 282 | 282 | */ |
| 283 | 283 | public function startApproval() { |
| 284 | 284 | $this->Status = 'Started'; |
| 285 | - $this->log("Starting {$this->Title}..."); |
|
| 285 | + $this->log("starting {$this->Title}..."); |
|
| 286 | 286 | // Determine if we should use delayed notification |
| 287 | 287 | $recipientGroup = 'all'; |
| 288 | 288 | if($this->getConfigSetting('RecipientsDelay')) { |
@@ -7,11 +7,11 @@ |
||
| 7 | 7 | $remove = true; |
| 8 | 8 | $dryRun = true; |
| 9 | 9 | |
| 10 | - if($request && $request->requestVar('remove') !== NULL) { |
|
| 10 | + if($request && $request->requestVar('remove') !== null) { |
|
| 11 | 11 | $remove = (bool) $request->requestVar('remove'); |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | - if($request && $request->requestVar('dryrun') !== NULL) { |
|
| 14 | + if($request && $request->requestVar('dryrun') !== null) { |
|
| 15 | 15 | $dryRun = (bool) $request->requestVar('dryrun'); |
| 16 | 16 | } |
| 17 | 17 | |
@@ -124,7 +124,7 @@ |
||
| 124 | 124 | In the unusual occurence of your deployment containing database changes that are |
| 125 | 125 | not reversible without a snapshot, rollback will not be able to restore your site proprely. |
| 126 | 126 | The site will remain in maintenance mode - please contact the Service Desk for assistance. |
| 127 | -END; |
|
| 127 | +end; |
|
| 128 | 128 | |
| 129 | 129 | $fieldList = new FieldList(array( |
| 130 | 130 | HeaderField::create('Label1', '1. Choose a commit to deploy', 4), |