@@ -132,8 +132,7 @@ |
||
132 | 132 | |
133 | 133 | $columns[$column['id']] = $this->populateColumnAttributes($column, $item); |
134 | 134 | } |
135 | - } |
|
136 | - else |
|
135 | + } else |
|
137 | 136 | { |
138 | 137 | $column = []; |
139 | 138 | $column['id'] = $item->id; |
@@ -54,8 +54,7 @@ |
||
54 | 54 | Analytics::$plugin->cache->delete(['accountExplorerData']); |
55 | 55 | |
56 | 56 | Craft::$app->getSession()->setNotice(Craft::t('analytics', "Disconnected from Google Analytics.")); |
57 | - } |
|
58 | - else |
|
57 | + } else |
|
59 | 58 | { |
60 | 59 | Craft::$app->getSession()->setError(Craft::t('analytics', "Couldn’t disconnect from Google Analytics")); |
61 | 60 | } |
@@ -111,8 +111,7 @@ |
||
111 | 111 | { |
112 | 112 | $response['report'] = Analytics::$plugin->getApis()->getAnalyticsReporting()->getReport($this, $toArray); |
113 | 113 | $response['success'] = true; |
114 | - } |
|
115 | - catch(\Exception $e) |
|
114 | + } catch(\Exception $e) |
|
116 | 115 | { |
117 | 116 | $response['error'] = true; |
118 | 117 | $response['errorMessage'] = $e->getMessage(); |