@@ -171,6 +171,9 @@ |
||
| 171 | 171 | } |
| 172 | 172 | } |
| 173 | 173 | |
| 174 | + /** |
|
| 175 | + * @param string $dir |
|
| 176 | + */ |
|
| 174 | 177 | protected function rmdirr($dir) { |
| 175 | 178 | if(is_dir($dir)) { |
| 176 | 179 | $files = scandir($dir); |
@@ -22,9 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | namespace Owncloud\Updater\Command; |
| 24 | 24 | |
| 25 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 26 | 25 | use Symfony\Component\Console\Input\InputInterface; |
| 27 | -use Symfony\Component\Console\Input\InputOption; |
|
| 28 | 26 | use Symfony\Component\Console\Output\OutputInterface; |
| 29 | 27 | use Owncloud\Updater\Utils\OccRunner; |
| 30 | 28 | use Owncloud\Updater\Utils\ZipExtractor; |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | - * @return bool |
|
| 113 | + * @return null|boolean |
|
| 114 | 114 | */ |
| 115 | 115 | protected function isLoggedIn() { |
| 116 | 116 | /** @var ConfigReader $configReader */ |
@@ -31,7 +31,6 @@ |
||
| 31 | 31 | use League\Plates\Extension\URI; |
| 32 | 32 | use Symfony\Component\Console\Output\BufferedOutput; |
| 33 | 33 | use Symfony\Component\Console\Input\StringInput; |
| 34 | -use Symfony\Component\Process\Exception\ProcessFailedException; |
|
| 35 | 34 | |
| 36 | 35 | class IndexController { |
| 37 | 36 | |