move constructor to command base class
[shpub.git] / src / shpub / Command / Repost.php
index 2f4b46f7c568f70145a522c18b0564533f83f10a..3c39178c84af83cda21e45a84cac6f2611fa5fb0 100644 (file)
@@ -3,16 +3,6 @@ namespace shpub;
 
 class Command_Repost extends Command_AbstractProps
 {
-    /**
-     * @var Config
-     */
-    protected $cfg;
-
-    public function __construct($cfg)
-    {
-        $this->cfg = $cfg;
-    }
-
     public static function opts(\Console_CommandLine $optParser)
     {
         $cmd = $optParser->addCommand('repost');