Fix github comments

This commit is contained in:
Nicolas Le Goff
2014-05-30 11:47:43 +02:00
parent df013d4f21
commit 9ba9533925
6 changed files with 19 additions and 69 deletions

View File

@@ -12,8 +12,6 @@
namespace Alchemy\Phrasea\Http\StaticFile;
use Alchemy\Phrasea\Exception\InvalidArgumentException;
use Alchemy\Phrasea\Http\AbstractServerMode;
use Guzzle\Http\Url;
class Nginx extends AbstractStaticMode implements StaticFileModeInterface
{
@@ -35,16 +33,6 @@ class Nginx extends AbstractStaticMode implements StaticFileModeInterface
$this->mapping = $mapping;
}
/**
* {@inheritdoc}
*/
public function getUrl($pathFile)
{
$this->ensureSymlink($pathFile);
return Url::factory(sprintf('%s/%s', $this->mapping['mount-point'], $this->symlinker->getSymlinkBasePath($pathFile)));
}
/**
* {@inheritdoc}
*/