Completed
Push — master ( 85e358...cf3219 )
by Rakesh
04:24 queued 10s
created
fb-callback.php 1 patch
Braces   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -75,9 +75,4 @@
 block discarded – undo
75 75
     var_dump($accessToken->getValue());
76 76
 }
77 77
 
78
-$_SESSION['fb_access_token'] = (string)$accessToken;
79
-
80
-header('Location: member.php');
81
-?>
82
-</body>
83
-</html>
84 78
\ No newline at end of file
79
+$_SESSION['fb_access_token'] = (string)$accessToken
85 80
\ No newline at end of file
Please login to merge, or discard this patch.
lib/Zend/Gdata/Spreadsheets/Extension/Cell.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,12 @@
 block discarded – undo
98 98
         $element = parent::getDOM($doc, $majorVersion, $minorVersion);
99 99
         $element->setAttribute('row', $this->_row);
100 100
         $element->setAttribute('col', $this->_col);
101
-        if ($this->_inputValue) $element->setAttribute('inputValue', $this->_inputValue);
102
-        if ($this->_numericValue) $element->setAttribute('numericValue', $this->_numericValue);
101
+        if ($this->_inputValue) {
102
+            $element->setAttribute('inputValue', $this->_inputValue);
103
+        }
104
+        if ($this->_numericValue) {
105
+            $element->setAttribute('numericValue', $this->_numericValue);
106
+        }
103 107
         return $element;
104 108
     }
105 109
 
Please login to merge, or discard this patch.
lib/Zend/Gdata/Calendar/Extension/Selected.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,11 +85,9 @@
 block discarded – undo
85 85
         case 'value':
86 86
             if ($attribute->nodeValue == "true") {
87 87
                 $this->_value = true;
88
-            }
89
-            else if ($attribute->nodeValue == "false") {
88
+            } else if ($attribute->nodeValue == "false") {
90 89
                 $this->_value = false;
91
-            }
92
-            else {
90
+            } else {
93 91
                 require_once 'Zend/Gdata/App/InvalidArgumentException.php';
94 92
                 throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
95 93
             }
Please login to merge, or discard this patch.
lib/Zend/Gdata/Calendar/Extension/QuickAdd.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,11 +85,9 @@
 block discarded – undo
85 85
         case 'value':
86 86
             if ($attribute->nodeValue == "true") {
87 87
                 $this->_value = true;
88
-            }
89
-            else if ($attribute->nodeValue == "false") {
88
+            } else if ($attribute->nodeValue == "false") {
90 89
                 $this->_value = false;
91
-            }
92
-            else {
90
+            } else {
93 91
                 throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
94 92
             }
95 93
             break;
Please login to merge, or discard this patch.
lib/Zend/Gdata/Calendar/Extension/SendEventNotifications.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -84,11 +84,9 @@
 block discarded – undo
84 84
         case 'value':
85 85
             if ($attribute->nodeValue == "true") {
86 86
                 $this->_value = true;
87
-            }
88
-            else if ($attribute->nodeValue == "false") {
87
+            } else if ($attribute->nodeValue == "false") {
89 88
                 $this->_value = false;
90
-            }
91
-            else {
89
+            } else {
92 90
                 throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
93 91
             }
94 92
             break;
Please login to merge, or discard this patch.
lib/Zend/Gdata/Calendar/Extension/Hidden.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,11 +85,9 @@
 block discarded – undo
85 85
         case 'value':
86 86
             if ($attribute->nodeValue == "true") {
87 87
                 $this->_value = true;
88
-            }
89
-            else if ($attribute->nodeValue == "false") {
88
+            } else if ($attribute->nodeValue == "false") {
90 89
                 $this->_value = false;
91
-            }
92
-            else {
90
+            } else {
93 91
                 require_once 'Zend/Gdata/App/InvalidArgumentException.php';
94 92
                 throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
95 93
             }
Please login to merge, or discard this patch.
lib/Zend/Gdata/Extension/RecurrenceException.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -106,11 +106,9 @@
 block discarded – undo
106 106
         case 'specialized':
107 107
             if ($attribute->nodeValue == "true") {
108 108
                 $this->_specialized = true;
109
-            }
110
-            else if ($attribute->nodeValue == "false") {
109
+            } else if ($attribute->nodeValue == "false") {
111 110
                 $this->_specialized = false;
112
-            }
113
-            else {
111
+            } else {
114 112
                 throw new Zend_Gdata_App_InvalidArgumentException("Expected 'true' or 'false' for gCal:selected#value.");
115 113
             }
116 114
             break;
Please login to merge, or discard this patch.
lib/Zend/Gdata/Extension/Who.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,8 +180,7 @@
 block discarded – undo
180 180
     {
181 181
         if ($this->_valueString != null) {
182 182
             return $this->_valueString;
183
-        }
184
-        else {
183
+        } else {
185 184
             return parent::__toString();
186 185
         }
187 186
     }
Please login to merge, or discard this patch.
lib/Zend/Gdata/Extension/Reminder.php 1 patch
Braces   +9 added lines, -8 removed lines patch added patch discarded remove patch
@@ -103,14 +103,15 @@
 block discarded – undo
103 103
     public function __toString()
104 104
     {
105 105
         $s = '';
106
-        if ($this->_absoluteTime)
107
-            $s = " at " . $this->_absoluteTime;
108
-        else if ($this->_days)
109
-            $s = " in " . $this->_days . " days";
110
-        else if ($this->_hours)
111
-            $s = " in " . $this->_hours . " hours";
112
-        else if ($this->_minutes)
113
-            $s = " in " . $this->_minutes . " minutes";
106
+        if ($this->_absoluteTime) {
107
+                    $s = " at " . $this->_absoluteTime;
108
+        } else if ($this->_days) {
109
+                    $s = " in " . $this->_days . " days";
110
+        } else if ($this->_hours) {
111
+                    $s = " in " . $this->_hours . " hours";
112
+        } else if ($this->_minutes) {
113
+                    $s = " in " . $this->_minutes . " minutes";
114
+        }
114 115
         return $this->_method . $s;
115 116
     }
116 117
 
Please login to merge, or discard this patch.