@@ 337-349 (lines=13) @@ | ||
334 | 'r' |
|
335 | ); |
|
336 | ||
337 | switch ($answer) { |
|
338 | case "a": |
|
339 | $this->io->setIndention(0); |
|
340 | $this->io->write('Aborted.'); |
|
341 | die(); |
|
342 | break; |
|
343 | case "r": |
|
344 | return true; |
|
345 | break; |
|
346 | case "s": |
|
347 | return false; |
|
348 | break; |
|
349 | } |
|
350 | } |
|
351 | ||
352 | return true; |
@@ 196-208 (lines=13) @@ | ||
193 | $answer = "a"; |
|
194 | } |
|
195 | ||
196 | switch ($answer) { |
|
197 | case "a": |
|
198 | $this->io->setIndention(0); |
|
199 | $this->io->write('Aborted.'); |
|
200 | die(); |
|
201 | break; |
|
202 | case "r": |
|
203 | return true; |
|
204 | break; |
|
205 | case "s": |
|
206 | return false; |
|
207 | break; |
|
208 | } |
|
209 | } |
|
210 | ||
211 | return true; |