Completed
Push — master ( ae8931...5a7492 )
by Leo
03:15
created
code/Extensions/BlockinPage.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 			$subBlocks = ClassInfo::subclassesFor('Block');
36 36
 			if (is_null($subBlocks)) {
37 37
 				$subBlocks = array('Block');
38
-			}else{
38
+			} else{
39 39
 				unset($subBlocks['Block']);
40 40
 			}
41 41
 			$multiClass->setClasses($subBlocks);
Please login to merge, or discard this patch.
code/BlocksAdmin.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 			$subBlocks = ClassInfo::subclassesFor('Block');
36 36
 			if (is_null($subBlocks)) {
37 37
 				$subBlocks = array('Block');
38
-			}else{
38
+			} else{
39 39
 				unset($subBlocks['Block']);
40 40
 			}
41 41
 			$multiClass->setClasses($subBlocks);
Please login to merge, or discard this patch.
code/Block.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	public function VisibleTo() {
42 42
 		if (strlen(trim($this->MemberVisibility)) > 0) {
43 43
 			$lists = 'Group: ' . str_replace(',','<br />Group: ', $this->MemberVisibility);
44
-		}else{
44
+		} else{
45 45
 			$lists = '<em>&lt;All&gt;</em>';
46 46
 		}
47 47
 		
@@ -56,13 +56,13 @@  discard block
 block discarded – undo
56 56
 		if ($this->showBlockbyClass) {
57 57
 			if (strlen(trim($this->shownInClass)) > 0) {
58 58
 				$lists = 'Type: ' . str_replace(',','<br />Type: ', $this->shownInClass);
59
-			}else{
59
+			} else{
60 60
 				$lists = '<em>&lt;not assigned&gt;</em>';
61 61
 			}
62
-		}else{
62
+		} else{
63 63
 			if ($this->Pages()->count() > 0) {
64 64
 				$lists = 'Page: ' . implode('<br />Page: ', $this->Pages()->column('Title'));
65
-			}else{
65
+			} else{
66 66
 				$lists = '<em>&lt;not assigned&gt;</em>';
67 67
 			}
68 68
 		}
Please login to merge, or discard this patch.