Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Apr 4, 2015
1 parent 3fdcdd7 commit f43f26b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/Clastic/AliasBundle/Controller/AliasController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

use Clastic\AliasBundle\Entity\Alias;
use Clastic\AliasBundle\Form\AliasFormType;
use Clastic\AliasBundle\Form\AliasType;
use Clastic\BackofficeBundle\Controller\AbstractModuleController;
use Clastic\NodeBundle\Node\NodeReferenceInterface;
use Symfony\Component\Form\Form;
Expand Down
12 changes: 0 additions & 12 deletions src/Clastic/GeneratorBundle/Generator/ModuleGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@
*/
class ModuleGenerator extends Generator
{
private $filesystem;

/**
* Constructor.
*
* @param Filesystem $filesystem A Filesystem instance
*/
public function __construct(Filesystem $filesystem)
{
$this->filesystem = $filesystem;
}

/**
* @param BundleInterface $bundle
* @param string $module
Expand Down
8 changes: 8 additions & 0 deletions src/Clastic/MediaBundle/Entity/Directory.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,12 @@ public function getChildren()
{
return $this->children;
}

/**
* @return ArrayCollection
*/
public function getFiles()
{
return $this->files;
}
}

0 comments on commit f43f26b

Please sign in to comment.