@@ 185-193 (lines=9) @@ | ||
182 | * |
|
183 | * @return mixed |
|
184 | */ |
|
185 | public function postRemove(\ArrayObject $project) |
|
186 | { |
|
187 | if (isset($this->app["config"]["monitoring"]["enabled"]) && $this->app["config"]["monitoring"]["enabled"]){ |
|
188 | $id = $this->getTestId($project); |
|
189 | $this->deleteTest($id); |
|
190 | } else { |
|
191 | $this->dialogProvider->logConfig("Monitoring is disabled"); |
|
192 | } |
|
193 | } |
|
194 | ||
195 | /** |
|
196 | * @return string[] |
@@ 178-186 (lines=9) @@ | ||
175 | * |
|
176 | * @return mixed |
|
177 | */ |
|
178 | public function postRemove(\ArrayObject $project) |
|
179 | { |
|
180 | if (isset($this->app["config"]["statuscake"]["enabled"]) && $this->app["config"]["statuscake"]["enabled"]) { |
|
181 | $id = $this->getTestId($project["name"]); |
|
182 | $this->deleteTest($id); |
|
183 | } else { |
|
184 | $this->dialogProvider->logConfig("Statuscake is disabled"); |
|
185 | } |
|
186 | } |
|
187 | ||
188 | /** |
|
189 | * @return string[] |